1、npm设置淘宝镜像
npm config set registry https://registry.npm.taobao.org

2、查看镜像设置
npm config get registry

3、还原成npm镜像
npm config set registry https://registry.npmjs.org/

4、清除npm缓存
npm cache clean --force
 
 

相关文章:

  • 2021-08-06
  • 2021-11-03
  • 2021-06-04
  • 2022-12-23
  • 2022-02-06
  • 2021-08-04
  • 2021-08-06
猜你喜欢
  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2021-08-06
相关资源
相似解决方案