I'm very new to Electron and I have created this dumb demo app.
It works fine if I run it with electron .
, but when I build it with electron-packager
, the dev tools tell me that it did not find several node_modules (like bootstrap, jquery), which I wanted to use.
How can I include bootstrap
, jquery
and electron-notifications
(and their dependencies) in dist?
How do Electron users usually resolve this problem and how do they include specific node_modules
?
Thanks in advance!
I think the easiest way is to reinstall the modules with
Than you have the modules saved. And you don't have to change your code. You can also write after the --save --dev