Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUsing yarn in node:6.10.0 got warning You don't appear to have an internet connection #353
Comments
|
That doesn't sound so good. However, I think this should first be posted to the yarn issue tracker, as it might be somewhat related to yarnpkg/yarn#746 Also, you need to provide more information as to what plattform you are running this on as well as any configurations and command run that resulted in this problem. |
|
The docker environment is running on CentOS7. Yarn works fine in pure system, but only show that warning in docker. |
|
Does npm work as normal inside the Docker container under the same conditions? |
|
Update test result as following:
I worked it out finally. However I still don't know why the preview tryouts all failed when I was trying to build the target image directly. One of the major difference is to install node-gyp globally, but in the preview tryouts, node-gyp is installed inside project. |
|
It appears to be related to this http://stackoverflow.com/questions/40186104/yarn-warning-on-docker-build. Either we need to patch yarn not to check interfaces or add a flag to ignore the check for online connectivity temporarily. |
|
Closing as a yarn issue. |
Using image node:6.10.0
when run yarn, got the warning "You don't appear to have an internet connection",
and the process was blocked there and retried for a long time, but finally the installation process failed.
I trie many times, all the same.