红联Linux门户
Linux帮助

centos安装Ghost解决npm install --production总是等待

发布时间:2016-01-19 15:32:02来源:linux网站作者:DJeeker

解决npm install --production 总是等待:


将npm-shrinkwrap.json文件里的resolved属性,https地址改为http://registry.cnpmjs.org

这个是国内的镜像所以下载很快。


如果出现“npm ERR cb() never called” 执行命令:
npm cache clean


本文永久更新地址:http://www.linuxdiyf.com/linux/17482.html