Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging error: "Cannot run with Node 10.x.x" #31

Closed
memuller opened this issue Jun 28, 2018 · 0 comments
Closed

Packaging error: "Cannot run with Node 10.x.x" #31

memuller opened this issue Jun 28, 2018 · 0 comments

Comments

@memuller
Copy link

Trying to build the packages using recent Node versions ( >= 10.x) results in:

CANNOT RUN WITH NODE 10.0.0
Electron Packager requires Node 4.0 or above.

This is due to a bug in electron-packager, where Node versions >= 10.0 evaluate as inferior than 4 (?!) . The bug is detailed here and has been fixed as of electron-packager 12.0.2.

Simply updating the required electron-packager version fixes the issue.

How to replicate

nvm use v10.5.0
npm run build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant