RT, 这个我不知道去哪报告BUG啊。
npm ERR! shasum check failed for /var/folders/wq/hdwsg0fx4wz7zg_01hn_xvk00000gn/T/npm-8699-3339faa6/registry.npm.taobao.org/sha.js/download/sha.js-2.4.5.tgz npm ERR! Expected: 27d171efcc82a118b99639ff581660242b506e7c npm ERR! Actual: 9454561d8a57c0447122780f54c337a07054e301 npm ERR! From: https://registry.npm.taobao.org/sha.js/download/sha.js-2.4.5.tgz
过几个小时,或者几天就好了
试试npm cache clean 清下缓存看看 不行,就切官方源吧
cnpm sync 就可以吧(请自行参阅 cnpm 主页)
来自酷炫的 CNodeMD
@AntSworD @coderfox 我弄错了,是公司这边的CDN缓存问题,实际上一直没有解决。我当时以为解决的时候是晚上回家了,CDN换了一个地址。
$ wget https://registry.npm.taobao.org/sha.js/download/sha.js-2.4.5.tgz –2016-04-28 10:10:00-- https://registry.npm.taobao.org/sha.js/download/sha.js-2.4.5.tgz Resolving registry.npm.taobao.org… 114.55.80.225 Connecting to registry.npm.taobao.org|114.55.80.225|:443… connected. HTTP request sent, awaiting response… 302 Found Location: http://cdn.npm.taobao.org/sha.js/-/sha.js-2.4.5.tgz [following] –2016-04-28 10:10:00-- http://cdn.npm.taobao.org/sha.js/-/sha.js-2.4.5.tgz Resolving cdn.npm.taobao.org… 122.72.35.179, 122.72.35.178 Connecting to cdn.npm.taobao.org|122.72.35.179|:80… connected. HTTP request sent, awaiting response… 200 OK Length: 1136 (1.1K) [application/x-javascript] Saving to: ‘sha.js-2.4.5.tgz’
sha.js-2.4.5.tgz 100%[========================================================================================================================================================================================================================================>] 1.11K --.-KB/s in 0s
2016-04-28 10:10:00 (181 MB/s) - ‘sha.js-2.4.5.tgz’ saved [1136/1136]
$ shasum sha.js-2.4.5.tgz 9454561d8a57c0447122780f54c337a07054e301 sha.js-2.4.5.tgz
@pluswave 嗯,是阿里在你公司那块的cdn服务器没更新