-
Notifications
You must be signed in to change notification settings - Fork 97
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
NODE_MODULE_VERSION error #185
Comments
Same Issue here |
Same here. Any solution to this? It occurred after I upgrade from
|
+1 |
I have the same problem. I tried building on 8.x, 10.x and 11.x. I am also using node-expat only as dependency of
EDIT: I solved my problem. Apparently electron sets this value higher than the current latest. I had to add electron-rebuild as postinstall hook which in turn compiled node-expat with the correct version. |
Has anyone found a solution to this outside of electron? |
I have same error with node-expat. <Error: The module '/home/hefc/GIT/xviz/examples/converters/kitti/node_modules/node-expat/build/Release/node_expat.node' Could anyone who fixed this issue share the solution ouside elelctron? |
I had the same issue |
same issue here |
Running npm rebuild helped me, but what is the equivalent on yarn? |
/node_modules/node-expat/build/Release/node_expat.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 59. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using
npm rebuild
ornpm install
).node-expat : 2.3.16
node: 8.10
npm: 5.6
electron: 1.8.4
I also used electron-rebuild to build the package to new target node version
I also used node-gyp to rebuild node-expat. Nothing helped.
Any ideas to fix this issue?
The text was updated successfully, but these errors were encountered: