淘宝镜像:npm config set registry https://registry.npmmirror.com

     npm config set registry https://registry.npm.taobao.org(已失效)

华为镜像:npm config set registry https://mirrors.huaweicloud.com/repository/npm/

官方镜像:npm config set registry https://registry.npmjs.org/

查看当前设置的镜像:npm config get registry

posted on 2020-11-07 17:40  W1N9s  阅读(361)  评论(0编辑  收藏  举报