title: How to solve npm ERR_SOCKET_TIMEOUT error when creating react app?
body: <p>I use npx create-react-app to boot strap my project. Installation process crashes with:</p>
  <pre class="lang-sh prettyprint-override"><code>npm ERR! code ERR_SOCKET_TIMEOUT
  npm ERR! errno ERR_SOCKET_TIMEOUT
  npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/@babel%2fhelper-compilation-targets: Socket timeout
  npm ERR! network This is a problem related to network connectivity.
  npm ERR! network In most cases you are behind a proxy or have bad network settings.
  npm ERR! network
  npm ERR! network If you are behind a proxy, please make sure that the
  npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
  </code></pre>
  <p>I open that url with the Chrome browser and it works just fine:</p>
  <p><a href="https://i.stack.imgur.com/HoXOx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HoXOx.png" alt="enter image description here" /></a></p>
  <p>How do I solve this problem?</p>