简体   繁体   中英

Error coming every time I try to run my code

错误:模块 '\?\C:\Users\ncid1\OneDrive\Desktop\Boblox\node_modules\better-sqlite3\build\Release\better_sqlite3.node' 是使用 NODE_MODULE_VERSION 83 针对不同的 Node.js 版本编译的。此版本的 Node.js 需要 NODE_MODULE_VERSION 108。请尝试重新编译或重新安装模块(例如,使用npm rebuildnpm install )。

Try uninstalling the package (better-sqlite3)

npm uninstall better-sqlite3

And then reinstall it

npm install better-sqlite3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM