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