npm更换淘宝镜像源

「重要通知」原淘宝 npm 域名即将停止解析 icon-default.png?t=N0U7https://npmmirror.com/相关服务域名切换规则:

http://npm.taobao.org => http://npmmirror.com
http://registry.npm.taobao.org => http://registry.npmmirror.com

修改npm原镜像源为淘宝镜像源:

npm config set registry http://registry.npmmirror.com

 查看当前源:

npm config get registry

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