npm源更换、卡住解决方式

sill idealTree buildDeps解决方案

1. 删除用户C:\Users\{账户}\下的.npmrc文件
2. npm cache verify
3. npm config set registry https://registry.npmmirror.com

更换镜像源

//任选其一
npm config set registry https://registry.npmmirror.com
npm config set registry https://registry.npm.taobao.org

如果不想更换npm源可以设置cnpm

npm install -g cnpm --registry=https://registry.npmmirror.com

你可能感兴趣的:(npm,前端,node.js)