Cumulus
Cumulus copied to clipboard
Uncaught Exception: Error: Cannot find module 'electron-settings'
Hi,
I got an exception when starting to run the application that I compiled locally.
A JavaScript error occurred in the main process Uncaught Exception: Error: Cannot find module 'electron-settings' at Module._resolveFilename(module.js:470:15) ...
Do you have any ideas for it?
I went through the same issue.
I did mine with npm
because yarn
was giving me issues
install everything with npm install
but install electron-settings module version 2.2.2
so do npm install [email protected]
and then build with grunt build
it should work
I used the latest npm and grunt
@anitricks Thanks! I'll try it.
yarn is not working properly in my mac. (mac osx high sierra) I tried to build using npm as @anitricks mentioned above, and it works well.
Thank you, @anitricks!!
yarn dependency is broken currently.
build is successful, but running built app is failing due to "cannot find the module 'electron-settings'"
Try this. I worked for me. https://github.com/electron/electron-packager/issues/992#issuecomment-493643251