Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning There appears to be trouble with your network connection. Retrying... #4510

Closed
liesislukas opened this issue Sep 20, 2017 · 4 comments

Comments

@liesislukas
Copy link

liesislukas commented Sep 20, 2017

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:
image
http://beta.speedtest.net/result/6640979661

some far away server:
image

@gswalden
Copy link

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

@liesislukas
Copy link
Author

liesislukas commented Sep 22, 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.

@tiye
Copy link

tiye commented Nov 19, 2017

=>> 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.

@herarya
Copy link

herarya commented Jun 28, 2018

ho to fix this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants