Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm 2.3 版本压缩包哈希有问题.. 建议重新上传.. #13

Closed
youxiachai opened this issue May 17, 2014 · 3 comments
Closed

npm 2.3 版本压缩包哈希有问题.. 建议重新上传.. #13

youxiachai opened this issue May 17, 2014 · 3 comments

Comments

@youxiachai
Copy link

下载的时候发现哈希值不对...

npm http GET https://registry.npmjs.org/pinyin
npm http 304 https://registry.npmjs.org/pinyin
npm http GET https://registry.npmjs.org/pinyin/-/pinyin-2.3.0.tgz
npm http 200 https://registry.npmjs.org/pinyin/-/pinyin-2.3.0.tgz
npm ERR! Error: shasum check failed for C:\Users\ADMINI~1\AppData\Local\Temp\npm-10888-PvyKzWjp\1400
305010327-0.3144137696363032\tmp.tgz
npm ERR! Expected: c33d179d6edebee2a82c06f8c7e2750f0ec080df
npm ERR! Actual:   26ddf7356672b9aa8810f88a6e977eca85d39906
npm ERR! From:     https://registry.npmjs.org/pinyin/-/pinyin-2.3.0.tgz
@youxiachai youxiachai changed the title npm 2.3 包哈希有问题.. 建议重新上传.. npm 2.3 版本压缩包哈希有问题.. 建议重新上传.. May 17, 2014
@hotoo
Copy link
Owner

hotoo commented May 17, 2014

$ npm install -g pinyin
npm http GET https://registry.npmjs.org/pinyin
npm http 200 https://registry.npmjs.org/pinyin
npm http GET https://registry.npmjs.org/segment/0.0.5
npm http GET https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/segment/0.0.5
npm http 200 https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/keypress
npm http 304 https://registry.npmjs.org/keypress
/usr/local/bin/pinyin -> /usr/local/lib/node_modules/pinyin/bin/pinyin
pinyin@2.3.0 /usr/local/lib/node_modules/pinyin
├── segment@0.0.5
└── commander@1.1.1 (keypress@0.1.0)
$ pinyin -v
2.3.0

我这边试了下好像没这个问题?你怎么下载的?

@youxiachai
Copy link
Author

@hotoo 试了三台服务器(DO, 阿里云(杭州), linode) 下载都是报类似的错误, 然后用cnpm 同步一下这个库,, 也只能同步到2.2.1 的版本..

npm install pinyin

npm http GET https://registry.npmjs.org/pinyin/-/pinyin-2.3.0.tgz
npm http 200 https://registry.npmjs.org/pinyin/-/pinyin-2.3.0.tgz
npm ERR! Error: shasum check failed for /root/tmp/npm-3791-yu-QeLGB/1400313526585-0.2913616024889052/tmp.tgz
npm ERR! Expected: c33d179d6edebee2a82c06f8c7e2750f0ec080df
npm ERR! Actual:   26ddf7356672b9aa8810f88a6e977eca85d39906

@youxiachai
Copy link
Author

蛋疼...又找了一台服务器试了一下...居然又可以了...看来是npm 抽风了..

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

No branches or pull requests

2 participants