在nodejs v0.10.22和NPMv1.3.14中,我尝试安装陨石,如下所示:
$ npm install meteorite
npm http GET https://registry.npmjs.org/meteorite
npm http 304 https://registry.npmjs.org/meteorite
npm http GET https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm ERR! fetch failed https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm http GET https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm ERR! fetch failed https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm http GET https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm ERR! fetch failed https://registry.npmjs.org/meteorite/-/meteorite-0.6.16.tgz
npm ERR! network socket hang up
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'问题:,这是一个常见的错误吗?我们怎么才能解决这个问题?
发布于 2013-11-13 22:45:27
NPM已经关闭,如果有可用的,可以使用NPM镜像。
npm set registry <registry-location>你得安装一面镜子或者找个人。
当您想要重置为正常时:
npm set registry https://registry.npmjs.org/https://stackoverflow.com/questions/19959236
复制相似问题