本文介绍了shasum检查无法安装手机差距使用npm的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经尝试过很多次但仍然出现此错误(shasum检查失败)
I have tried for many times but still this error (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
推荐答案
这个问题的根本原因是固定的。请不要在这个线程中采取建议,并且破解校验和错误的方式。如果有东西有一个破坏的校验和,它不是被信任。最多,它是破碎;在最坏的情况下,它的恶意黑客。无论哪种方式,这不是一个好的迹象,错误是系统工作。
The root cause of this is fixed. Please do not take the advice in this thread and hack your way around checksum errors, ever. If something has a busted checksum, it's not to be trusted. At best, it's broken; at worst, it's maliciously hacked. Either way, it's not a good sign, and the error is the system working.
这篇关于shasum检查无法安装手机差距使用npm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!