1、设置淘宝镜像源:
npm config set registry https://registry.npmmirror.com/
2、查看当前镜像源:
npm config get registry
3、设置官方镜像源:
npm config set registry https://registry.npmjs.org
标签:npm,set,registry,https,镜像,config From: https://www.cnblogs.com/bzqs/p/16886321.html