Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

shasum check failed #13405

Closed
1 task
ghost opened this issue Jul 17, 2016 · 5 comments
Closed
1 task

shasum check failed #13405

ghost opened this issue Jul 17, 2016 · 5 comments

Comments

@ghost
Copy link

ghost commented Jul 17, 2016

I'm opening this issue because:

  • npm is doing something I don't understand.

supporting information:

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Users\Lenovo\node.js\node.exe" "C:\Users\Lenovo\node.js
\node_modules\npm\bin\npm-cli.js" "install" "puer" "-g"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9

npm ERR! shasum check failed for C:\Users\Lenovo\AppData\Local\Temp\npm-6980-f75
35a2b\registry.npmjs.org\socket.io-client-\socket.io-client-0.9.16.tgz
npm ERR! Expected: 4da7515c5e773041d1b423970415bcc430f35fc6
npm ERR! Actual: 08c6365d59543afc18032f877b934104a6e767f0
npm ERR! From: https://registry.npmjs.org/socket.io-client/-/socket.io-clien
t-0.9.16.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! C:\Users\Lenovo\npm-debug.log

@kenany
Copy link
Contributor

kenany commented Jul 17, 2016

@Q15010417 Have you tried running npm cache clean?

@ghost
Copy link
Author

ghost commented Jul 17, 2016

@kenany yes,but it didn't work

@ghost
Copy link
Author

ghost commented Jul 17, 2016

if the problem is "shasum check failed for",you can try this way .
I found the way to solve this problem on the internet
first ,copy this to the cmd and enter:
npm config set registry http://registry.cnpmjs.org

and then copy this:
npm info underscore
(I am not really good at English.Please forgive me)
finish all of these,you may do something

@ghost ghost changed the title I don't know what happened?npm ERR! Windows_NT 6.3.9600 I don't know what happened?shasum check failed for Jul 17, 2016
@ghost ghost changed the title I don't know what happened?shasum check failed for I don't know what happened? shasum check failed for Jul 17, 2016
@othiym23 othiym23 changed the title I don't know what happened? shasum check failed for shasum check failed Jul 18, 2016
@othiym23
Copy link
Contributor

Closing as resolved – @Q15010417, it sounds like you're behind the Chinese firewall, so switching to the cnpmjs registry is indeed the most likely way to get past these errors, which are caused by incomplete or corrupt downloads of package tarballs. Thanks for your time!

@chenyijie-bit
Copy link

could you help me ? thank you

02

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants