npm配置taobao镜像
2022-01-26 本文已影响0人
LL天HH土
- npm设置淘宝镜像
npm config set registry http://registry.npmmirror.com
- 查看镜像设置
npm config get registry
- 还原成npm镜像(发布npm包可能用得到)
npm config set registry https://registry.npmjs.org/
npm config set registry http://registry.npmmirror.com
npm config get registry
npm config set registry https://registry.npmjs.org/