Reputation: 1
I'm trying to manage the setup events of my electron app made using squirrel. As suggested by the documentation, I'm trying to use squirrel startup on my main.js, but when I run the setup.exe i get this error "Error: Cannot find module 'electron-squirrel-startup'"
.
I've added the module as a dependency (not dev dependency) in my package.json
.
Any idea of what I'm doing wrong?
I tried deleting the node_modules
folder and running npm install
again
Upvotes: 0
Views: 260