2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【エラー解決方法】yarn「info There appears to be trouble with your network connection. Retrying...」

Last updated at Posted at 2022-09-17

事象

パッケージを再インストールしようとyarnコマンドを実行したら以下のエラーに遭遇した

$ yarn 
...
info There appears to be trouble with your network connection. Retrying...

原因

ネットワークが遅いためタイムアウトエラーが発生している

解決方法

タイムアウト時間を延ばすことで対処する

yarn config set network-timeout 600000

その他

以下のコマンドでも解決できる

 yarn install --network-timeout 600000
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?