I have been trying to do the quickstart guide for react native, but kept getting this error
There appears to be trouble with your network connection. Retryin
Turning off "real time protection" with windows defender fixed it for me.
Sucks but it appears the checks are too much for yarn to handle.
The following helped me
yarn config delete https-proxy
yarn config delete proxy
they set your https-proxy and proxy values to undefined. My https-proxy was set to localhost. Check that proxy and https-proxy config values are undefined by using the following
yarn config get https-proxy
yarn config get proxy
Could be a proxy issue. Run the command below to delete the proxy.
yarn config delete proxy
Deleting the yarn.lock file and rerunning "yarn install" worked for me.