1、查询当前镜像地址
npm get registry
2、修改镜像地址
npm config set registry http://registry.npm.taobao.org/
原始镜像地址(备份)
https://registry.npmjs.org/
npm 镜像地址配置
原文:https://www.cnblogs.com/LicwStack/p/11380933.html