【F2E】npm 设置淘宝镜像
- npm 设置淘宝镜像
npm config set registry https://registry.npm.taobao.org
- 查看镜像设置
npm config get registry
- 还原成 npm 镜像
npm config set registry https://registry.npmjs.org/
- 清除 npm 缓存
npm cache clean --force
npm config set registry https://registry.npm.taobao.org
npm config get registry
npm config set registry https://registry.npmjs.org/
npm cache clean --force