【F2E】npm 设置淘宝镜像

  1. npm 设置淘宝镜像
npm config set registry https://registry.npm.taobao.org
  1. 查看镜像设置
npm config get registry
  1. 还原成 npm 镜像
npm config set registry https://registry.npmjs.org/
  1. 清除 npm 缓存
npm cache clean --force
posted @ 2021-05-11 16:57  [ABing]  阅读(36)  评论(0编辑  收藏  举报