npm 下载慢问题解決方案

 

1. npm config set registry https://registry.npm.taobao.org​  (设置默认使用cnpm)

   npm config get registry​   (验证是否使用cnpm);

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

 

posted @ 2018-01-31 10:11  MF孟飞  阅读(107)  评论(0编辑  收藏  举报