部分可选镜像源地址: (1)、npm官方镜像源 http://www.npmjs.org (2)、淘宝镜像源 (推荐) https://registry.npm.taobao.org 设置镜像源: npm config set registry 要设置的镜像源地址 npm config set registry https://registry.npm.taobao.org 查看镜像源: npm config get registry 或者 npm get registry 效果: