我访问http://registry.npmjs.org/没有问题,直接下载http://registry.npmjs.org/jade/-/jade-1.9.1.tgz也没有问题,为什么用npm命令行下载的时候一直处于等待状态,那个斜杠不停的转啊转。。
高洛峰2017-04-17 11:34:07
It is recommended to use domestic mirror sites, you can refer to these two articles
cnpmjs.org The counterattack of domestic npm
http://segmentfault.com/a/1190000000362110
Taobao NPM mirror
http://segmentfault.com/a/1190000000471219
大家讲道理2017-04-17 11:34:07
Stuck is not necessarily a network problem. It is best to use the task manager to see which command is stuck. Sometimes it will get stuck due to lack of compilation dependencies (this should be considered a bug, and an error should be reported for missing dependencies).
伊谢尔伦2017-04-17 11:34:07
It should be no problem to download to that network, just wait, it’s so frustrating when there is no progress prompt... =.=