1、先强制清缓存
npm cache clean --force
2、运行的npm的指令走的淘宝代理
npm install -g cnpm --registry=https://registry.npm.taobao.org
1、先强制清缓存
npm cache clean --force
2、运行的npm的指令走的淘宝代理
npm install -g cnpm --registry=https://registry.npm.taobao.org
转载于:https://www.cnblogs.com/flxy-1028/p/10557956.html