title: how to fix UNMET DEPENDENCY errors on expressJS
body: <p>I'm getting started with express JS and NodeJs
  using the
  <a href="http://expressjs.com/guide.html" rel="nofollow">ExpressJSGuide</a></p>
  
  <p>I'm stuck at the </p>
  
  <blockquote>
    <p>npm ls</p>
  </blockquote>
  
  <p>part, it throws the following errors</p>
  
  <p>└─┬ express@3.5.0
    ├── UNMET DEPENDENCY buffer-crc32 0.2.1</p>
  
  <p>├── UNMET DEPENDENCY commander 1.3.2</p>
  
  <p>├── UNMET DEPENDENCY connect 2.14.1</p>
  
  <p>├── UNMET DEPENDENCY cookie 0.1.1</p>
  
  <p>├── UNMET DEPENDENCY cookie-signature 1.0.3</p>
  
  <p>├── UNMET DEPENDENCY debug >= 0.7.3 &lt; 1</p>
  
  <p>├── UNMET DEPENDENCY fresh 0.2.2</p>
  
  <p>├── UNMET DEPENDENCY merge-descriptors 0.0.2</p>
  
  <p>├── UNMET DEPENDENCY methods 0.1.0</p>
  
  <p>├── UNMET DEPENDENCY mkdirp 0.3.5</p>
  
  <p>├── UNMET DEPENDENCY range-parser 1.0.0</p>
  
  <p>└── UNMET DEPENDENCY send 0.2.0</p>
  
  <p>npm ERR! missing: connect@2.14.1, required by express@3.5.0</p>
  
  <p>npm ERR! missing: commander@1.3.2, required by express@3.5.0</p>
  
  <p>npm ERR! missing: range-parser@1.0.0, required by express@3.5.0</p>
  
  <p>npm ERR! missing: mkdirp@0.3.5, required by express@3.5.0</p>
  
  <p>npm ERR! missing: cookie@0.1.1, required by express@3.5.0</p>
  
  <p>npm ERR! missing: buffer-crc32@0.2.1, required by express@3.5.0</p>
  
  <p>npm ERR! missing: fresh@0.2.2, required by express@3.5.0</p>
  
  <p>npm ERR! missing: methods@0.1.0, required by express@3.5.0</p>
  
  <p>npm ERR! missing: send@0.2.0, required by express@3.5.0</p>
  
  <p>npm ERR! missing: cookie-signature@1.0.3, required by express@3.5.0</p>
  
  <p>npm ERR! missing: merge-descriptors@0.0.2, required by express@3.5.0</p>
  
  <p>npm ERR! missing: debug@>= 0.7.3 &lt; 1, required by express@3.5.0</p>
  
  <p>npm ERR! not ok code 0</p>
  
  <p>does anyone know how to fix this?</p>
  
  <p>Already tried </p>
  
  <blockquote>
    <p>npm install dependency-name</p>
  </blockquote>
  
  <p>like </p>
  
  <blockquote>
    <p>npm install cookie-signature</p>
  </blockquote>
  
  <p>but it only thrown the following errors</p>
  
  <p>npm WARN package.json express@3.5.0 No README data</p>
  
  <p>npm WARN package.json cookie-signature@1.0.3 No README data</p>
  
  <p>npm http GET <a href="https://registry.npmjs.org/cookie-signature" rel="nofollow">https://registry.npmjs.org/cookie-signature</a></p>
  
  <p>npm http 200 <a href="https://registry.npmjs.org/cookie-signature" rel="nofollow">https://registry.npmjs.org/cookie-signature</a></p>
  
  <p>npm http GET <a href="https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz" rel="nofollow">https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz</a></p>
  
  <p>npm http 200 <a href="https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz" rel="nofollow">https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.3.tgz</a></p>
  
  <p>npm ERR! Error: EPERM, chown '/misc/htdocs/hello-world/node_modules/cookie-signature/package.json'</p>
  
  <p>npm ERR!  { [Error: EPERM, chown '/misc/htdocs/hello-world/node_modules/cookie-signature/package.json']</p>
  
  <p>npm ERR!   errno: 50,</p>
  
  <p>npm ERR!   code: 'EPERM',</p>
  
  <p>npm ERR!   path: '/misc/htdocs/hello-world/node_modules/cookie-signature/package.json',</p>
  
  <p>npm ERR!   fstream_finish_call: 'chown',</p>
  
  <p>npm ERR!   fstream_type: 'File',</p>
  
  <p>npm ERR!   fstream_path: '/misc/htdocs/hello-world/node_modules/cookie-signature/package.json',</p>
  
  <p>npm ERR!   fstream_class: 'FileWriter',</p>
  
  <p>npm ERR!   fstream_stack: </p>
  
  <p>npm ERR!    [ '/usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19',</p>
  
  <p>npm ERR!      '/usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7',</p>
  
  <p>npm ERR!      'Object.oncomplete (fs.js:107:15)' ] }</p>
  
  <p>npm ERR! </p>
  
  <p>npm ERR! Please try running this command again as root/Administrator.</p>
  
  <p>npm ERR! System Linux 2.6.32-431.5.1.el6.x86_64</p>
  
  <p>npm ERR! command "node" "/usr/bin/npm" "install" "cookie-signature"</p>
  
  <p>npm ERR! cwd /misc/htdocs/hello-world</p>
  
  <p>npm ERR! node -v v0.10.26</p>
  
  <p>npm ERR! npm -v 1.4.6</p>
  
  <p>npm ERR! path /misc/htdocs/hello-world/node_modules/cookie-signature/package.json</p>
  
  <p>npm ERR! fstream_path /misc/htdocs/hello-world/node_modules/cookie-signature/package.json</p>
  
  <p>npm ERR! fstream_type File</p>
  
  <p>npm ERR! fstream_class FileWriter</p>
  
  <p>npm ERR! fstream_finish_call chown</p>
  
  <p>npm ERR! code EPERM</p>
  
  <p>npm ERR! errno 50</p>
  
  <p>npm ERR! stack Error: EPERM, chown '/misc/htdocs/hello-world/node_modules/cookie-signature/package.json'</p>
  
  <p>npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/fstream/lib/writer.js:305:19</p>
  
  <p>npm ERR! fstream_stack /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:133:7</p>
  
  <p>npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)</p>
  
  <p>npm ERR! </p>
  
  <p>npm ERR! Additional logging details can be found in:</p>
  
  <p>npm ERR!     /misc/htdocs/hello-world/npm-debug.log</p>
  
  <p>npm ERR! not ok code 0</p>