The issue:
You receive an error indicating there is an issue with your network connection when using Yarn:
There appears to be trouble with your network connection. Retrying...
Possible solutions:
Yarn implements parallel downloading and other networking techniques in order to resolve dependencies faster. This sometimes causes issues in virtualized environments.
To minimize network issues, we recommend that you append the --network-timeout 1000000
argument to the Yarn command.