1.设置淘宝代理

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

2.如果网址本地可以打开,说明你本地有代理设置

所以需要按本地的代理 设置yarn访问代理(本地代理查看的话,点检浏览器 inter选项--> 连接 --> 局域网设置 )

yarn config set proxy http://1.2.1.251

yarn config set https-proxy http://1.2.1.251

 

相关文章:

  • 2021-08-04
  • 2021-06-09
  • 2021-05-17
  • 2022-12-23
  • 2021-10-06
  • 2021-07-31
猜你喜欢
  • 2021-07-17
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2021-11-03
  • 2021-09-27
相关资源
相似解决方案