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

BetterSQLite available on Node.js 16.x? #670

Closed
Fyrlex opened this issue Aug 5, 2021 · 4 comments
Closed

BetterSQLite available on Node.js 16.x? #670

Fyrlex opened this issue Aug 5, 2021 · 4 comments

Comments

@Fyrlex
Copy link

Fyrlex commented Aug 5, 2021

Hello, I have been wondering as to when Better Sqlite3 will be able to run on v16? When I try to use v16 right now I get this error.

Error: The module '/bot/node_modules/better-sqlite3/build/Release/better_sqlite3.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 83. This version of Node.js requires
NODE_MODULE_VERSION 93. Please try re-compiling or re-installing

Thanks! Have a nice day :)

@Fyrlex Fyrlex changed the title Node.js compile on 16.x? BetterSQLite available on 16.x? Aug 5, 2021
@Fyrlex Fyrlex changed the title BetterSQLite available on 16.x? BetterSQLite available on Node.js 16.x? Aug 5, 2021
@Prinzhorn
Copy link
Contributor

It does work with Node 16. There must be something wrong with your setup. Are you copying node_modules from a different machine? Are you using Electron?

@Fyrlex
Copy link
Author

Fyrlex commented Aug 6, 2021

I had left the node_modules folder as it was with v14. Silly mistake, I should have deleted it and regenerated the packages. Thanks!

@onyx-nxt
Copy link

onyx-nxt commented Nov 3, 2021

for me, it doesn't work with v17

@Prinzhorn
Copy link
Contributor

@KK-Designs #711 ?

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

No branches or pull requests

4 participants