Closed
Description
Do you want to request a feature or report a bug?
Not sure
What is the current behavior?
Without an internet connection, I get:
[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...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
And then the install fails and tells me which github address it was trying to reach on the internet.
If the current behavior is a bug, please provide the steps to reproduce.
Just make a package.json
with a github dependency, such as:
"nomnom": "douglasduteil/nomnom#next"
Install it via yarn
while connected to the internet.
Then unplug your internet, delete node_modules
dir, and try to yarn
again.
What is the expected behavior?
I expect it to install all my packages from cache even while offline.
Please mention your node.js, yarn and operating system version.
Node 6.9.1 LTS, yarn 0.17.4, Mac OS X 10.11.6
Metadata
Metadata
Assignees
Labels
No labels