查看npm镜像设置: npm config get registry
将镜像设置npm镜像:npm config set registry https://registry.npmjs.org/
将镜像设置淘宝镜像:npm config set registry https://registry.npm.taobao.org(域名到期)
将镜像设置阿里云镜像:npm config set registry https://registry.npmmirror.com/
将镜像设置腾讯云镜像:npm config set registry https://mirrors.cloud.tencent.com/npm/
将镜像设置华为云镜像:npm config set registry https://mirrors.huaweicloud.com/repository/npm/
将镜像设置网易镜像:npm config set registry https://mirrors.163.com/npm/