Reputation: 28859
I was trying to create executable file for electron app
but faced this issue
Unable to determine Electron version. Please specify an Electron version
Though I have electron
installed on my machine globally but still it was giving me error.
Upvotes: 4
Views: 9398
Reputation: 28859
Install electron
as dev-dependency
to resolve this issue
npm install --save-dev electron
Resources https://github.com/electron-userland/electron-packager/issues/617
Upvotes: 13