-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Using yarn 0.21.3 in docker got warning: You don't appear to have an internet connection #2850
Comments
I have pretty much the same problem. On different docker containers it works/fails, but not all the time, however there are containers where it happens 90% of the time, and on others 10% |
Still present in 0.27.5 |
This should be resolved via 1.1.0 with the addition of DNS caching. Reopen if it persists with the latest version of Yarn please. |
Having the problem on Google App Engine (uses docker):
|
problem still present In my case even after several minutes (like 4 to 5 info lines) it would not get anything. |
problem still present |
Using official docker image node:6.10.0, and yarn 0.21.3 is included. The docker environment is running on CentOS7.
The network of the docker image is ok, coz both of 'agt-get xxx' and 'npm install -g xxx' work well.
However when running yarn, I got the following warning:
Step 7/9 : RUN yarn
---> Running in 7dbcdcfcb8b9
yarn install v0.21.3
warning You don't appear to have an internet connection. Try the --offline flag to use the cache for registry queries.
[1/4] Resolving packages...
[2/4] Fetching 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...
warning There appears to be trouble with your network connection. Retrying...
[3/4] Linking dependencies...
After several failed tryouts, I completed the building successfully finally.
nodejs/docker-node#353
But I still wanna know if this warning is a bug or something else should be noticed?
The text was updated successfully, but these errors were encountered: