首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >npm无法获取陨石

npm无法获取陨石
EN

Stack Overflow用户
提问于 2013-11-13 16:32:08
回答 1查看 340关注 0票数 0

在nodejs v0.10.22和NPMv1.3.14中,我尝试安装陨石,如下所示:

代码语言:javascript
复制
$ 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'

问题:,这是一个常见的错误吗?我们怎么才能解决这个问题?

EN

回答 1

Stack Overflow用户

发布于 2013-11-13 22:45:27

NPM已经关闭,如果有可用的,可以使用NPM镜像。

代码语言:javascript
复制
npm set registry <registry-location>

你得安装一面镜子或者找个人。

当您想要重置为正常时:

代码语言:javascript
复制
npm set registry https://registry.npmjs.org/
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/19959236

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档