[英]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 rebuild
或npm install
)。
嘗試卸載軟件包(better-sqlite3)
npm uninstall better-sqlite3
然后重新安裝
npm install better-sqlite3
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.