title: NPM broken mime-db missing
body: <p>I had to reinstall Nodejs on my Macbook when I ran into an issue with <code>npm</code>.
  No matter what I did I always got this output:</p>
  
  <pre><code>$ npm 
  Error: Cannot find module 'mime-db'
      at Function.Module._resolveFilename (module.js:336:15)
      at Function.Module._load (module.js:278:25)
      at Module.require (module.js:365:17)
      at require (module.js:384:17)
      at Object.&lt;anonymous&gt; (/usr/local/lib/node_modules/npm/node_modules/request/node_modules/form-data/node_modules/mime-types/index.js:2:10)
      at Module._compile (module.js:460:26)
      at Object.Module._extensions..js (module.js:478:10)
      at Module.load (module.js:355:32)
      at Function.Module._load (module.js:310:12)
      at Module.require (module.js:365:17)
  npm ERR! Darwin 14.3.0
  npm ERR! argv "node" "/usr/local/bin/npm" "install"
  npm ERR! node v0.12.4
  npm ERR! npm  v2.10.1
  npm ERR! code MODULE_NOT_FOUND
  
  npm ERR! Cannot find module 'mime-db'
  npm ERR!
  npm ERR! If you need help, you may report this error at:
  npm ERR!     &lt;https://github.com/npm/npm/issues&gt;
  </code></pre>
  
  <p>I did not understand who this was happening. So I installed it one more time in hope that it would be fixed. No luck. </p>
  
  <p>I did fix it after a wasting to much time. That is why I put it on here so that if anybody may walk into the same problem they solve it sooner then I did.</p>