title: vue create fails with ERR_ASSERTION
body: <p>Running <code>vue create my-project</code> fails with</p>
  <pre><code>assert.js:92
    throw new AssertionError(obj);
    ^
  
  AssertionError [ERR_ASSERTION]: 293 == 0
      at ClientRequest.onConnect (C:\Users\myname\.node_modules_global\node_modules\@vue\cli\node_modules\tunnel-agent\index.js:160:14)
      at Object.onceWrapper (events.js:313:26)
      at ClientRequest.emit (events.js:223:5)
      at Socket.socketOnData (_http_client.js:490:11)
      at Socket.emit (events.js:223:5)
      at addChunk (_stream_readable.js:309:12)
      at readableAddChunk (_stream_readable.js:290:11)
      at Socket.Readable.push (_stream_readable.js:224:10)
      at TCP.onStreamRead (internal/stream_base_commons.js:181:23) {
    generatedMessage: true,
    code: 'ERR_ASSERTION',
    actual: 293,
    expected: 0,
    operator: '=='
  }
  </code></pre>
  <p>while node &amp; npm install can be run just fine. I'm behind a corporate proxy, my versions are <br />
  @vue/cli 4.5.11 <br />
  node v12.14.1<br />
  npm 6.14.8<br />
  I can ping <a href="https://registry.npmjs.org/" rel="nofollow noreferrer">https://registry.npmjs.org/</a> without problems. What's wrong?</p>