gpt4 book ai didi

html - 使用 npm 安装手机间隙的 shasum 检查失败

转载 作者:太空狗 更新时间:2023-10-29 14:39:48 25 4
gpt4 key购买 nike

试了很多次还是这个错误(shasum check failed)

4784 error Error: shasum check failed for C:\Users\FENGXI~1\AppData\Local\Temp\npm-7004-QbpFFte5\1387269030233-0.28223602287471294\tmp.tgz
4784 error Expected: dee5a33ff04d7217194dc1ad1342e3a441761942
4784 error Actual: ab7d89ca1f31db14db047d01222dd968649cfb50
4784 error at C:\Program Files\nodejs\node_modules\npm\node_modules\sha\index.js:38:8
4784 error at ReadStream.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\sha\index.js:85:7)
4784 error at ReadStream.EventEmitter.emit (events.js:117:20)
4784 error at _stream_readable.js:920:16
4784 error at process._tickCallback (node.js:415:13)
4785 error If you need help, you may report this *entire* log,
4785 error including the npm and node versions, at:
4785 error <http://github.com/isaacs/npm/issues>
4786 error System Windows_NT 6.1.7600
4787 error command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "phonegap"
4788 error cwd D:\environment\phonegap
4789 error node -v v0.10.23
4790 error npm -v 1.3.17

最佳答案

刚遇到同样的问题。类型:

$ npm install [URL]

在 shasum 检查失败之前使用 URL。之后再次运行您的安装命令,一切都应该继续。

例如。对于 Cordova,它是:

$ npm install https://registry.npmjs.org/npm/-/npm-1.3.19.tgz

关于html - 使用 npm 安装手机间隙的 shasum 检查失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20629788/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com