Node.js 根据节点模块V72编译节点模块。需要v 64

Node.js 根据节点模块V72编译节点模块。需要v 64,node.js,npm,discord.js,Node.js,Npm,Discord.js,我正在将音乐流添加到我的Discord机器人中,目前唯一的问题是: was compiled against a different Node.js version using NODE_MODULE_VERSION 72. This version of Node.js requires NODE_MODULE_VERSION 64. Please try re-compiling or re-installing the module (for instance, using `npm re

我正在将音乐流添加到我的Discord机器人中,目前唯一的问题是:

was compiled against a different Node.js version using
NODE_MODULE_VERSION 72. 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 bindings (/home/pi/Eterna/node_modules/bindings/bindings.js:76:44)
    at Object.<anonymous> (/home/pi/Eterna/node_modules/node-opus/lib/OpusEncoder.js:4:34)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
(node:27501) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:27501) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
是根据不同的Node.js版本使用
节点\模块\版本72。此版本的Node.js需要
节点\模块\版本64。请尝试重新编译或重新安装
模块(例如,使用'npm rebuild'或'npm install`)。
在Object.Module.\u extensions..节点(internal/modules/cjs/loader.js:718:18)
在Module.load(内部/modules/cjs/loader.js:599:32)
在tryModuleLoad(内部/modules/cjs/loader.js:538:12)
at Function.Module._load(内部/modules/cjs/loader.js:530:3)
at Module.require(内部/modules/cjs/loader.js:637:17)
根据需要(内部/modules/cjs/helpers.js:22:18)
at绑定(/home/pi/etena/node_modules/bindings/bindings.js:76:44)
反对。(/home/pi/etena/node_modules/node opus/lib/OpusEncoder.js:4:34)
at模块编译(内部/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js(internal/modules/cjs/loader.js:700:10)
(节点:27501)未处理的PromisejectionWarning:未处理的承诺拒绝。此错误源于在没有catch块的异步函数中抛出,或者拒绝未使用.catch()处理的承诺。(拒绝id:1)
(节点:27501)[DEP0018]弃用警告:未处理的承诺拒绝已弃用。将来,未处理的承诺拒绝将使用非零退出代码终止Node.js进程。
我尝试过npm重建和npm重建opusscript——更新二进制文件 没有运气。我看过类似的情况,但(不确定这是否有帮助)他们所有的版本都像我的一样切换

“根据不同的Node.js版本使用 NODE\u模块\u版本72。此版本的NODE.js需要 节点\模块\版本64。“

他们的会是

“根据不同的Node.js版本使用 NODE\u模块\u版本67。此版本的NODE.js需要 节点\模块\版本69。“

他们的编译版本低于要求的版本 我只是想指出这一点


我刚刚尝试将节点降级到10.18.0(最后一个使用模块V64)同样的问题。仍然说我有72个

npm重建的输出是什么?您是否也尝试过
npm ci
?没有输出,它只是返回到终端。然而,我刚刚尝试了npm ci,它工作得非常好。谢谢