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.
Install electron
as dev-dependency
to resolve this issue
npm install --save-dev electron
Resources https://github.com/electron-userland/electron-packager/issues/617
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With