Which Node packages that Electron require to run?


#1

Hi,
When I packaging my app and I see there is too much packages that when I put it into the installer I see the .exe file become very heavily.
So my question is which packages that Electron required to run the app?
Thanks


#2

If you used npm install --save electron, NPM has already installed the packages that Electron needs to run. I would recommend letting NPM handle which packages you have installed instead of sorting through them manually. If you have an old project folder with packages that you don’t need any more, I suggest deleting the node_modules/ folder and running npm install again.


#3

Thank you a lot :smiley: