我的 npm 卡住了很多,无论是从 package.json
安装的 npm 还是单个软件包。
现在,我什至无法 sudo npm install node-inspector -g
我在 node 6.2.1
npm 3.9.5
上使用 ubuntu 16.04
npm cache clear
没有帮助。安装需要数小时或失败。
原文由 Dushyant Bangal 发布,翻译遵循 CC BY-SA 4.0 许可协议
我的 npm 卡住了很多,无论是从 package.json
安装的 npm 还是单个软件包。
现在,我什至无法 sudo npm install node-inspector -g
我在 node 6.2.1
npm 3.9.5
上使用 ubuntu 16.04
npm cache clear
没有帮助。安装需要数小时或失败。
原文由 Dushyant Bangal 发布,翻译遵循 CC BY-SA 4.0 许可协议
3 回答2.5k 阅读✓ 已解决
2 回答932 阅读✓ 已解决
1 回答880 阅读✓ 已解决
2 回答1.1k 阅读
1 回答804 阅读✓ 已解决
2 回答1.6k 阅读
2 回答572 阅读✓ 已解决
如果您使用任何代理,请检查代理是否有任何问题。您也可以尝试手动设置 npm 的端点: