yarn install info There appears to be trouble with your network connection. Retrying after printing Done
i used verdaccio as private registry in lan
yarn install v1.22.17 warning package.json: No license field warning @g-bits/[email protected]: No license field [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages...
success Saved lockfile. Done in 0.11s. info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying... info There appears to be trouble with your network connection. Retrying...
I also encountered this problem
same issue
I ran this on and off for the past couple of weeks and a reboot always had it fixed, weird I know but I worked reliably...👍
it work
yarn config set strict-ssl true
I also encountered this problem
详细分析过程和解决方案看这里:https://juejin.cn/post/7162077789456662541
尝试以下任一方法(try any of these):
-
disable-self-update-check
$ yarn config set disable-self-update-check true$ yarn install -
set lastUpdateCheck
$ yarn config set lastUpdateCheck 1e13$ yarn install -
use non-interactive
$ yarn install --non-interactive -
use proxy
$ yarn install --proxy "http://{proxy domain}:{port}" --https-proxy "http://{proxy domain}:{port}"