There appears to be trouble with your network connection. Retrying

1,620 阅读1分钟

问题描述

使用yarn install 命令时,偶尔出现此错误:There appears to be trouble with your network connection. Retrying...

解决

  • 删除https-proxy、proxy
yarn config delete https-proxy

yarn config delete proxy
  • 重新设置https-proxy、proxy
yarn config get https-proxy
yarn config get proxy
  • 重新开启一个终端,在项目中重新使用yarn install命令