yarn -v
1.0.2
node -v
v8.5.0
npm -v
5.4.2
OS X 10.12.6
everytime i use yarn i get some warning about my internet connection
$ yarn install
yarn install v1.0.2
info No lockfile found.
[1/4] ๐ Resolving packages...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
[2/4] ๐ Fetching packages...
[3/4] ๐ Linking dependencies...
warning "[email protected]" has incorrect peer dependency "babel-core@6 || 7 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0-rc".
warning "[email protected]" has unmet peer dependency "webpack@2 || 3".
warning "[email protected]" has incorrect peer dependency "ajv@>=4.10.0".
warning "[email protected]" has incorrect peer dependency "babel-core@^6.0.0 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0".
[4/4] ๐ Building fresh packages...
success Saved lockfile.
โจ Done in 106.12s.
package.json dependecies. There are only dev dependencies in this file:
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"eslint": "^3.19.0",
"jest": "^21.1.0",
"nodemon": "^1.9.2"
},
and my internet speed tests are not that bad:

http://beta.speedtest.net/result/6640979661
some far away server:

I had this too, it was likely caused by a problem on NPM's servers
https://status.npmjs.org/
see Past Incidents: September 20, 2017
@gswalden may be the reason, just tried clean installs couple times and all worked well. It took ~20s same thing which took ~106s before.
=>> yarn
yarn install v1.3.2
[1/4] ๐ Resolving packages...
[2/4] ๐ Fetching packages...
info There appears to be trouble with your network connection. Retrying...
^C
I see these logs often in the past weeks. Maybe it's caused by slow network plus large gzip files. Just think it's too often.
ho to fix this ?
Most helpful comment
I see these logs often in the past weeks. Maybe it's caused by slow network plus large gzip files. Just think it's too often.