npm install -g fireba-6ren">
gpt4 book ai didi

node.js - 尝试安装 firebase-tools 时出现错误 "shasum check failed"

转载 作者:太空宇宙 更新时间:2023-11-03 22:27:57 24 4
gpt4 key购买 nike

尝试安装 firebase-tools 时收到此错误:

PS D:\Projects\Uni\firebase-functions-hello-world> npm install -g firebase-tools
npm ERR! Windows_NT 10.0.10240
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\
\npm-cli.js" "install" "-g" "firebase-tools"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10

npm ERR! shasum check failed for C:\Users\AdMin\AppData\Local\Temp\npm-8448-fdc26aac\registry.npmjs.org
\jju\-\jju-1.3.0.tgz
npm ERR! Expected: dadd9ef01924bc728b03f2f7979bdbd62f7a2aaa
npm ERR! Actual: 2a552ad636b1e23979c677ab9f360cf1ac578f89
npm ERR! From: https://registry.npmjs.org/jju/-/jju-1.3.0.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR! D:\Projects\Uni\firebase-functions-hello-world\npm-debug.log
PS D:\Projects\Uni\firebase-functions-hello-world>

我还在 github 上发布了这个问题,即 https://github.com/firebase/firebase-tools/issues/271

最佳答案

以管理员身份再次运行该命令。

关于node.js - 尝试安装 firebase-tools 时出现错误 "shasum check failed",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42725131/

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