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

Error: This version of Node.js requires NODE_MODULE_VERSION 83. Please try re-compiling or re-installing #678

Closed
FoxTale-Labs opened this issue Aug 11, 2021 · 4 comments

Comments

@FoxTale-Labs
Copy link

I tried compiling my app using nexe, but it gives me this error (npm latest version, node.js latest and nexe latest).

Error: The module '\?\C:\Users\Engin\Desktop\Development\Rhombus-Panel\node_modules\better-sqlite3\build\Release\better_sqlite3.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 93. This version of Node.js requires
NODE_MODULE_VERSION 83. Please try re-compiling or re-installing

@FoxTale-Labs
Copy link
Author

PS: Nexe version is 4.0.0-beta.18

@Nekron297
Copy link

Ive also gotten this same exact error when trying to start a Discord bot. Same versions and everything. And nothing ive been told by the bot devs or found online seem to be working

@JoshuaWise
Copy link
Member

Try:

rm -rf node_modules
rm -rf build
npm cache clear --force
npm install

@JoshuaWise JoshuaWise changed the title Error: The module '\\?\C:\Users\Engin\Desktop\Development\Rhombus-Panel\node_modules\better-sqlite3\build\Release\better_sqlite3.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 93. This version of Node.js requires NODE_MODULE_VERSION 83. Please try re-compiling or re-installing Error: This version of Node.js requires NODE_MODULE_VERSION 83. Please try re-compiling or re-installing Aug 23, 2021
@JoshuaWise
Copy link
Member

Duplicate of #670

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants