I’m building my first app in electron and I’m stuck on a problem I can’t seem to fix.
I’m using Electron builder along with electron packager to export my .exe and .dmg. That all works fine but the none of my renderer node modules seem to work. The thing is : when i build my applications is puts them in the folder ‘/dist’, when i open the application over there it works. When I install it and it is stored in ‘My Applications’, the it doesn’t work.
Should I include the node_modules in my app folder ?
Can somebody spot what I’m doing wrong ?
My general folder structure :