解决npm install卡住或缓慢的问题

第一种方案: 使用cnpm

npm install -g cnpm --registry=https://registry.npm.taobao.org

然后再用: cnpm install 即可解决.当然有时候cnpm不好使的时候,就用

第二种方案: npm 使用淘宝的镜像下载

npm config set registry https://registry.npm.taobao.org

然后在用: npm install 即可.

 

 

你可能感兴趣的:(npm,vue,vue.js)