I cloned Mailspring and ran npm install
and npm start
. When I ran npm start
, I got this error:
> mailspring-root@0.0.1 start
> node_modules/.bin/electron ./app --enable-logging --dev
'node_modules' is not recognized as an internal or external command,
operable program or batch file.
So instead, I ran this command:
node_modules/.bin/electron ./app --enable-logging --dev
This got the program to start, but when I run the program and log into my Mailspring ID, it just displays the text “Signing In” with a loading icon. This is the output I receive when I run the above command:
Running database migrations
App load time: 318ms
{"error":null}
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
[25308:0315/000504.583:INFO:CONSOLE(18870)] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools
You might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq font-weight:bold", source: C:\Users\Chaitanya Nookala\Documents\OSS\Mailspring\app\node_modules\react-dom\cjs\react-dom.development.js (18870)
[25308:0315/000504.594:INFO:CONSOLE(18870)] "%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools
You might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq font-weight:bold", source: C:\Users\Chaitanya Nookala\Documents\OSS\Mailspring\app\node_modules\react-dom\cjs\react-dom.development.js (18870)
[25308:0315/000504.664:INFO:CONSOLE(16)] "Window load time: 804ms", source: file:///C:/Users/Chaitanya%20Nookala/Documents/OSS/Mailspring/app/static/index.js (16)
[25308:0315/000504.987:INFO:CONSOLE(16)] "Window load time: 1152ms", source: file:///C:/Users/Chaitanya%20Nookala/Documents/OSS/Mailspring/app/static/index.js (16)
[25308:0315/000505.335:INFO:CONSOLE(143)] "%c DatabaseStore._executeLocally took more than 100ms - 583msec: %cSELECT%c %c`Folder`%c.%c`data`%c %cFROM%c %c`Folder`%c color:black color:green color:black color:purple color:black color:purple color:black color:green color:black color:purple color:black ", source: /C:/Users/Chaitanya%20Nookala/Documents/OSS/Mailspring/app/src/flux/stores/database-store.ts (143)
[25308:0315/000505.336:INFO:CONSOLE(143)] "%c DatabaseStore._executeLocally took more than 100ms - 583msec: %cSELECT%c %c`Label`%c.%c`data`%c %cFROM%c %c`Label`%c color:black color:green color:black color:purple color:black color:purple color:black color:green color:black color:purple color:black ", source: /C:/Users/Chaitanya%20Nookala/Documents/OSS/Mailspring/app/src/flux/stores/database-store.ts (143)
[25308:0315/000505.621:INFO:CONSOLE(143)] "%c DatabaseStore._executeLocally took more than 100ms - 557msec: %cSELECT%c %c`Folder`%c.%c`data`%c %cFROM%c %c`Folder`%c color:black color:green color:black color:purple color:black color:purple color:black color:green color:black color:purple color:black ", source: /C:/Users/Chaitanya%20Nookala/Documents/OSS/Mailspring/app/src/flux/stores/database-store.ts (143)
[25308:0315/000505.622:INFO:CONSOLE(143)] "%c DatabaseStore._executeLocally took more than 100ms - 556msec: %cSELECT%c %c`Label`%c.%c`data`%c %cFROM%c %c`Label`%c color:black color:green color:black color:purple color:black color:purple color:black color:green color:black color:purple color:black ", source: /C:/Users/Chaitanya%20Nookala/Documents/OSS/Mailspring/app/src/flux/stores/database-store.ts (143)
(node:14416) Electron: Loading non-context-aware native module in renderer: '\\?\C:\Users\Chaitanya Nookala\Documents\OSS\Mailspring\app\node_modules\@felixrieseberg\spellchecker\build\Release\spellchecker.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:23900) Electron: Loading non-context-aware native module in renderer: '\\?\C:\Users\Chaitanya Nookala\Documents\OSS\Mailspring\app\node_modules\@felixrieseberg\spellchecker\build\Release\spellchecker.node'. This is deprecated, see https://github.com/electron/electron/issues/18397.
(node:23900) DeprecationWarning: Passing functions, DOM objects and other non-cloneable JavaScript objects to IPC methods is deprecated and will throw an exception beginning with Electron 9.
[25308:0315/000515.833:INFO:CONSOLE(79)] "Guest page logged a message: %cElectron Security Warning (enableBlinkFeatures) font-weight: bold; This renderer process has additional "enableBlinkFeatures"
enabled. This exposes users of this app to some security risk. If you do not
need this feature, you should disable it.
For more information and help, consult
https://electronjs.org/docs/tutorial/security.
This warning will not show up
once the app is packaged.", source: /C:/Users/Chaitanya%20Nookala/Documents/OSS/Mailspring/app/src/components/webview.tsx (79)
[25308:0315/000515.835:INFO:CONSOLE(79)] "Guest page logged a message: %cElectron Security Warning (enableRemoteModule) font-weight: bold; This renderer process has "enableRemoteModule" enabled
and attempted to load remote content from 'https://id.getmailspring.com/onboarding?utm_medium=N1&utm_source=OnboardingPage&N1_version=1.8.0-COMMIT_INSERTED_DURING_PACKAGING&client_edition=basic'. This
exposes users of this app to unnecessary security risks.
How can I get Mailspring to run on Windows directly from source?
Thanks in advance.