title: yeoman generator fails: "Cannot find module 'download'"
body: <p>I've uninstalled and reinstalled <code>yo</code> and <code>download</code> using npm. And switched to <code>node 10.28</code> and <code>node 11.14</code> but when I try and run a yo generator I keep getting:</p>
  
  <pre><code>module.js:333
      throw err;
            ^
  Error: Cannot find module 'download'
      at Function.Module._resolveFilename (module.js:331:15)
      at Function.Module._load (module.js:273:25)
      at Module.require (module.js:357:17)
      at require (module.js:373:17)
      at Object.&lt;anonymous&gt; (/usr/local/share/npm/lib/node_modules/yo/node_modules/yeoman-generator/lib/actions/fetch.js:5:16)
      at Module._compile (module.js:449:26)
      at Object.Module._extensions..js (module.js:467:10)
      at Module.load (module.js:349:32)
      at Function.Module._load (module.js:305:12)
      at Module.require (module.js:357:17)
  </code></pre>
  
  <p>I tried uninstalling / re-installing npm, yeoman, node, and the generator, plus googling and trying random things - nothing seemed to help.</p>
  
  <p><strong>Solution</strong>: </p>
  
  <p>After some time fiddling - this fixed it:</p>
  
  <pre><code>cd /usr/local/share/npm/lib/
  npm i download &amp;&amp; npm update
  </code></pre>