赞
踩
npm config get registry
npm config set registry http://registry.npmmirror.com
如果返回 http://registry.npmmirror.com,说明镜像配置成功。
npm config set registry https://registry.npmjs.org
阿里镜像官网:https://developer.aliyun.com/mirror/