-
-
Notifications
You must be signed in to change notification settings - Fork 46
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 a different Node.js version using NODE_MODULE_VERSION 115. This version of Node.js requires NODE_MODULE_VERSION 93 #390
Comments
let me know what are you trying to do:
|
@julianhille not using electron. Building locally using Nuxt 2/VueJS 2 on MacOS, deploying to Google Cloud using GitHub Actions and AppEngine. Builds successfully when using Node v16 or v18 but fails at v20. I need to use Node v20.x due to Google Cloud deployment restrictions as of today. |
Make sure you are building in GitHub actions with node 20. It seems you are building with version 16.0.0 there. Is your GitHub actions publicly available? |
GitHub Actions are not public, but I'm building locally from my IDE using Node v20 in this case. |
But if you build and deploy from GitHub you need to make sure you build with v20 there. Can you add an excerpt of you action without leaking something? Like the build and deploy steps. Just to get a grasp on it and to not miss anything and or to remove maybe misunderstandings what your process is |
I'm including the GitHub Actions script below, but I know it's related to the issue. This was deploying successfully for months until I updated the minimum node version in my package.json to 20. NPM install runs all successfully. name: Dev Env Deploy on: jobs:
|
@julianhille to clarify - after I build locally and attempt to run the app locally, that's when it fails, i.e. attempting to make it run on localhost:8080, I get the following: Error: The module '/Users/briantessier/PhpstormProjects/Bundle_original/node_modules/muhammara/binding/muhammara.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 115. This version of Node.js requires NODE_MODULE_VERSION 93. Please try re-compiling or re-installing the module (for instance, using |
Ahh. Ok. Got it. It already fails locally. My bad. Thought it fails on the deployed system. Interesting. Can you try to add something like "node --version" into the npm install step? Just to make sure. Also please hash the muhammara.node binary with Sha or so add the result here after you did an npm install. |
Please also try:
Not sure if command is correct. Will take some time. |
The SHA sum is: 289c05fb4c9c23dde8485142131bf2f28935a4af4c7b0699ef1f0282027ef3a2 muhammara.node |
Please also try:
Not sure if command is correct. Will take some time. |
@julianhille Muhammad is the wrong name for sure - but I did that muhammara and am getting the same results. |
did it compile? can you add log? |
I am experiencing issues with my local build on MacOS:
The module '/node_modules/muhammara/binding/muhammara.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 115. This version of Node.js requires NODE_MODULE_VERSION 93.
I tried everything mentioned in #374 with no success.
Running Node 20.15.1 & NPM 10.7.0
Not using Electron
The text was updated successfully, but these errors were encountered: