每当我结。机器人显示n错误

时间:2019-01-28 06:03:36

标签: node.js

我重新安装了node.js,并且重新安装了更好的sqlite3,仍然是这个问题

  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: The module '\\?\D:\discordbots\dc.RSG.Bot.2.0\node_modules\better-sqlite3\build\better_sqlite3.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 67. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (D:\discordbots\dc.RSG.Bot.2.0\node_modules\better-sqlite3\lib\database.js:5:21)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)```

0 个答案:

没有答案