cnpm 安装为什么会有那么多的包使用官网的镜像
发布于 8 年前 作者 pluswave 4704 次浏览 来自 问答

如题,请看日志:

$ cnpm install -g ionic npm ERR! fetch failed https://registry.npmjs.org/crc/-/crc-3.2.1.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/cross-spawn/-/cross-spawn-0.2.3.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/npm/-/npm-2.1.3.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/request/-/request-2.51.0.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/finalhandler/-/finalhandler-0.2.0.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/proxy-middleware/-/proxy-middleware-0.7.0.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/xml2js/-/xml2js-0.4.4.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/event-stream/-/event-stream-3.0.20.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/request-progress/-/request-progress-0.3.1.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/serve-static/-/serve-static-1.7.1.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/open/-/open-0.0.5.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/prompt/-/prompt-0.2.12.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/cli-table/-/cli-table-0.3.1.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/gulp/-/gulp-3.8.8.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/progress/-/progress-1.1.7.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/optimist/-/optimist-0.6.0.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/shelljs/-/shelljs-0.2.6.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/semver/-/semver-4.3.6.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/colors/-/colors-0.6.2.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/ncp/-/ncp-0.4.2.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/cheerio/-/cheerio-0.19.0.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/moment/-/moment-2.10.6.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/connect/-/connect-3.1.1.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/unzip/-/unzip-0.1.9.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/async/-/async-0.9.2.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/tiny-lr-fork/-/tiny-lr-fork-0.0.5.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-0.3.7.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/expand-tilde/-/expand-tilde-1.2.0.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/underscore/-/underscore-1.7.0.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/connect-livereload/-/connect-livereload-0.5.2.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up npm ERR! fetch failed https://registry.npmjs.org/q/-/q-1.0.1.tgz npm WARN retry will retry, error on last attempt: Error: socket hang up

1 回复
回到顶部