Created by: andrearota
The create-react-app release hangs when run behind a https proxy, as the checkForLatestVersion()
function tries to connect to https://registry.npmjs.org/-/package/create-react-app/dist-tags without using proxies.
The proposed patch uses the already available function getProxy()
which reads the https proxy configuration from the environment variable https_proxy
and, if not set, from npm configuration.
The patch introduces a dependency from the module https-proxy-agent.