title: Error with nodejs and express
body: <p>I am trying to use <code>express</code> in an ubuntu 13.10 distribution.  I am using <code>node version 0.10.29</code> and <code>npm 1.4.14</code>  When I use <code>express</code> this is my output:</p>
  
  <pre><code>    module.js:340
         throw err;
        ^
      Error: Cannot find module 'mkdirp'
        at Function.Module._resolveFilename (module.js:338:15)
        at Function.Module._load (module.js:280:25)
        at Module.require (module.js:364:17)
        at require (module.js:380:17)
        at Object.&lt;anonymous&gt; (/usr/bin/express:10:14)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Function.Module.runMain (module.js:497:10)
  </code></pre>
  
  <p>Additionally, I have to use <code>sudo npm</code> as <code>npm</code> doesn't work (i'm not sure if that's part of the issue - but I suspect path issues, not really sure).  I have googled but haven't been able to fix the issues.  </p>
  
  <p>Edit:  I think I messed up my path.  I am unable to reinstall npm.  Here is output from <code>$PATH</code></p>
  
  <p><code>bash: /home/qtrain/npm/bin:/usr/bin/yo:/home/qtrain/.node/bin:/home/qtrain/Enthought/Canopy_64bit/User/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/qtrain/.rvm/bin:/home/qtrain/.rvm/bin:/home/qtrain/.rvm/bin:</code></p>