-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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 64. This version of Node.js requires NODE_MODULE_VERSION 73. Please try re-compiling or re-installing #1910
Comments
Hello @DonavanMartin, thanks for making an issue. Can you reply with the version of Node.js, |
HI @DonavanMartin , |
Hi @DonavanMartin, I solved this problem using the command below: ./node_modules/.bin/electron-rebuild Steps:
It is very important to run |
`electron-rebuild` only rebuilds the bindings for "dependencies" See serialport/node-serialport#1910 (comment) Also added alias for @serialport/bindings for non-electron environment
An unhandled error occurred inside electron-rebuild i already installed python |
@AlexisTorres-85 the error is that you are using Python version 3.7.4 and the version must be between >= 2.6.0 and < 3.0.0, change your Python version and try again. |
I have the same problem as @AlexisTorres-85 but in OSX. An unhandled error occurred inside electron-rebuild And my python version is 2.7.15 |
hi @marceloch2 did you figure out ? my python is 2.7.17 too |
Hey friend @lilian131, yes. Moved my Electron to 7, nodejs 12, download the binaries that are getting 404 and paste it inside /Users/YOURUSER/.npm/_prebuilds https://github.com/serialport/node-serialport/releases bindings-v8.0.4-electron-v75-darwin-x64.tar.gz I had to do it because even with the new version for serial, electron and new node still have 404. |
run 6 warnings and 19 errors generated. |
This doesn't seem to help... though the build process chooses the wrong version of node (chooses 72 instead of 75) |
I was facing the same error On windows 7, using electron 7 and modem (https://github.com/emilsedgh/modem , which is built on node-serialport). I solved it by using electron-builder. My scripts in package.json Running "npm run dist" solved the issue. |
@mhabib555 Can you please show your all package.json please. This command does not work for me. Thanks |
I think this is the problem prebuild-install` WARN install prebuilt binaries enforced with --force! ⨯ cannot execute cause=exit status 1 |
@AlexandreMouyen You can also check this. |
You may have to upgrade your node version (type "npm version" to inspect your modules version). npm -i only updates to the latest stable LTS version which may still have a NODE_MODULE_VERSION < 73. Checkout https://nodejs.org/en/download/releases/#ref-1 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week no further activity occurs. Feel free continue the discussion or ask for a |
Thank you, this work for me! |
hello Error: The module '/Users/carlito/Downloads/hashlips_art_engine-main 2/node_modules/canvas/build/Release/canvas.node' Thanks for your help |
Hi @CarlNFT are you using electron? If so the instructions in the earlier comments should help you |
worked for me: |
have same issue but different package
|
bindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 64. This version of Node.js requires
NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
the module (for instance, using
npm rebuild
ornpm install
).at process.func (electron/js2c/asar.js:155:31)
at process.func [as dlopen] (electron/js2c/asar.js:155:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
at Object.func (electron/js2c/asar.js:155:31)
at Object.func [as .node] (electron/js2c/asar.js:155:31)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Module.require (internal/modules/cjs/loader.js:685:19)
The text was updated successfully, but these errors were encountered: