node.js - npm安装模块等待
PHPz
PHPz 2017-04-17 11:32:07
0
4
657

我访问http://registry.npmjs.org/没有问题,直接下载http://registry.npmjs.org/jade/-/jade-1.9.1.tgz也没有问题,为什么用npm命令行下载的时候一直处于等待状态,那个斜杠不停的转啊转。。

PHPz
PHPz

学习是最好的投资!

reply all(4)
小葫芦

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

大家讲道理

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).

伊谢尔伦

It should be no problem to download to that network, just wait, it’s so frustrating when there is no progress prompt... =.=

迷茫

Correct answer upstairs

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template