-
Notifications
You must be signed in to change notification settings - Fork 187
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
was compiled against different Node.js version #110
Comments
Have seen the same error. On diagnosing, figured that the problem was with using nvm for version management. NVM keeps the node versions in the directory: /usr/username/.nvm which is used for compiling when installing the packages. For me, it appeared like this: Solution Downgrade the node version for root to Node 8.15.1. |
Hi @psambit9791, thanks for your response! There was a mismatch on both versions. I downgraded NVM version because it was higher. Now I get the following: But I still get "Compiled against NODE_MODULE_VERSION 57. This version requires NODE_MODULE_VERSION 64". I think I will try to uninstall NVM and use only system node.js. I'll let you know if I find something. |
Okey, I finally solved the issue. Seems that Node.js version didn't even matter, because Electron uses it's own. I downgraded Electron to 2.0.18 which uses Node 8.9.x. Thanks for your help. |
Can you elaborate more on how you recompile? |
Hi!
I've been trying to install bleno without success. I'm on a Raspberry PI 3 Model B. First I downgraded Node.js to version 8.15.1 in order to avoid node-gyp compiling error. Now, I get the following when running the program:
In this one I was using @abandonware's fork. I've also switched versions, and I get the same error (compiled using XX and required version 64). I've already searched on the internet and I don't find any working solution.
If someone could please help me or give some ideas I would appreciate. Everything should work fine here because I've seen bleno installed on Raspberries.
Thanks,
The text was updated successfully, but these errors were encountered: