设置镜像源

1、查看一下当前源

yarn config get registry

2、切换为淘宝源

yarn config set registry https://registry.npm.taobao.org

3、或者切换为自带的

yarn config set registry https://registry.yarnpkg.com

  

相关文章:

  • 2022-12-23
  • 2022-01-13
  • 2022-01-06
  • 2021-11-12
  • 2021-06-25
  • 2021-11-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2021-09-20
  • 2021-06-04
  • 2021-09-14
相关资源
相似解决方案