Description
When I tried to open Mailspring in MX Linux 21 (based on Debian 11) it crashed with the following message in the console:
[72962:0817/092035.906188:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
Running database migrations
App load time: 238ms
Error: “@electron/remote” cannot be required in the browser process. Instead require("@electron/remote/main").
at Object. (/usr/share/mailspring/resources/app.asar/node_modules/@electron/remote/dist/src/renderer/index.js:14:11)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/usr/share/mailspring/resources/app.asar/node_modules/@electron/remote/renderer/index.js:1:-44)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at MailsyncProcess._showStatusWindow (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/mailsync-process.ts:108:31)
at onData (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/mailsync-process.ts:357:52)
at Socket. (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/mailsync-process.ts:197:23)
at Socket.emit (node:events:390:28)
at Socket.emit (node:domain:475:12)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:199:23) uncaughtException
(node:72926) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use mailspring --trace-deprecation ...
to show where the warning was created)
Raven: 429 - undefined
Raven: 429 - undefined
Error: “@electron/remote” cannot be required in the browser process. Instead require("@electron/remote/main").
at Object. (/usr/share/mailspring/resources/app.asar/node_modules/@electron/remote/dist/src/renderer/index.js:14:11)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (/usr/share/mailspring/resources/app.asar/node_modules/@electron/remote/renderer/index.js:1:-44)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at MailsyncProcess._showStatusWindow (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/mailsync-process.ts:108:31)
at onData (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/mailsync-process.ts:357:52)
at Socket. (file:///tmp/nylas-build/electron-packager/linux-x64/mailspring-linux-x64/resources/app/src/mailsync-process.ts:197:23)
at Socket.emit (node:events:390:28)
at Socket.emit (node:domain:475:12)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at Pipe.onStreamRead (node:internal/stream_base_commons:199:23)
To Reproduce…
Steps to reproduce the behavior:
- Open Mailspring 1.10.5 on Debian 11 based distro in the console
- See the error
Expected Behavior
It should open Mailspring
Setup
- OS and Version: MX Linux 21
- Installation Method: .deb
- Mailspring Version: 1.10.5