我正在尝试安装节点软件包,但出现此错误。
C:\Users\hp\Desktop\personal-site>npm i rnnoise
> rnnoise@0.1.8 install C:\Users\hp\Desktop\personal-site\node_modules\rnnoise
> node-pre-gyp install --update-binary --fallback-to-build=false || neon build --release
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: 404 status code downloading tarball https://github.com/cedrickchee/rnnoise-nodejs/releases/download/0.1.8/node-v72-win32-x64.tar.gz
node-pre-gyp ERR! stack at PassThrough.<anonymous> (C:\Users\hp\Desktop\personal-site\node_modules\rnnoise\node_modules\node-pre-gyp\lib\install.js:142:27)
node-pre-gyp ERR! stack at PassThrough.emit (events.js:215:7)
node-pre-gyp ERR! stack at ClientRequest.<anonymous> (C:\Users\hp\Desktop\personal-site\node_modules\needle\lib\needle.js:500:9)
node-pre-gyp ERR! stack at Object.onceWrapper (events.js:300:26)
node-pre-gyp ERR! stack at ClientRequest.emit (events.js:210:5)
node-pre-gyp ERR! stack at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:583:27)
node-pre-gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:115:17)
node-pre-gyp ERR! stack at TLSSocket.socketOnData (_http_client.js:456:22)
node-pre-gyp ERR! stack at TLSSocket.emit (events.js:210:5)
node-pre-gyp ERR! stack at addChunk (_stream_readable.js:309:12)
node-pre-gyp ERR! System Windows_NT 10.0.18362
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\hp\\Desktop\\personal-site\\node_modules\\rnnoise\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--update-binary" "--fallback-to-build=false"
node-pre-gyp ERR! cwd C:\Users\hp\Desktop\personal-site\node_modules\rnnoise
node-pre-gyp ERR! node -v v12.14.0
node-pre-gyp ERR! node-pre-gyp -v v0.14.0
node-pre-gyp ERR! not ok
404 status code downloading tarball https://github.com/cedrickchee/rnnoise-nodejs/releases/download/0.1.8/node-v72-win32-x64.tar.gz
neon ERR! spawn cargo ENOENT
Error: spawn cargo ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\hp\Desktop\personal-site\package.json'
npm WARN personal-site No description
npm WARN personal-site No repository field.
npm WARN personal-site No README data
npm WARN personal-site No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! rnnoise@0.1.8 install: `node-pre-gyp install --update-binary --fallback-to-build=false || neon build --release`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the rnnoise@0.1.8 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hp\AppData\Roaming\npm-cache\_logs\2020-06-21T04_28_53_540Z-debug.log
模块有问题还是依赖关系?
此模块的依赖项: 霓虹灯 节点预石膏 node-pre-gyp-github