解決問題-There appears to be trouble with your network connection. Retrying...

hjjsunli發表於2024-03-18

使用yarn install 命令時,偶爾出現此錯誤:There appears to be trouble with your network connection. Retrying...

可以透過以下步驟解決(親測OK)

1、刪除https-proxy、proxy

yarn config delete https-proxy

yarn config delete proxy

2、刪除成功後,則重新設定https-proxy、proxy

yarn config get https-proxy
yarn config get proxy

3、在專案中重新使用yarn install命令

相關文章