title: NodeJS - setting up mean.io cannot find module errors
body: <p>I'm sort of new to this whole "node" js thing. When trying to install the MEAN package from <a href="http://mean.io/" rel="nofollow">http://mean.io/</a>, I followed these steps faithfully:</p>
  
  <p>I "cd" to my directory, run "npm install", and then the "grunt" command, and get this error:</p>
  
  <pre><code>Error: Cannot find module 'coffee-script'
  </code></pre>
  
  <p>So I roll with the punches. npm install coffee-script, run "grunt" again.</p>
  
  <pre><code>Error: Cannot find module 'getobject'
  </code></pre>
  
  <p>Ever patient, I decide "okay, forget grunt". I run "node server". Then I get this error:</p>
  
  <pre><code>Error: Cannot find module 'merge-descriptors'
  </code></pre>
  
  <p>What's wrong? How can I get MEAN working here? (I thought npm was supposed to make life easier).</p>
  
  <p>Update 12/31/13: When I look at the output of npm install, there are a number of "Error: EMFILE" errors. As I understand those errors are related to too many files being opened and graceful-fs is a solution to this. Sample EMFILE error pasted below:</p>
  
  <pre><code>npm ERR! System Darwin 13.0.0
  npm ERR! command "node" "/usr/local/bin/npm" "install"
  npm ERR! cwd /Users/cnokes/Desktop/mean-master
  npm ERR! node -v v0.10.7
  npm ERR! npm -v 1.2.21
  npm ERR! path /Users/cnokes/Desktop/mean-master/node_modules/grunt/node_modules/iconv-lite/README.md
  npm ERR! code EMFILE
  npm ERR! errno 20
  npm ERR! tar.unpack error reading /var/folders/wv/xrm8qphn5bsgfj5w45kqrwl9lgq2j2/T/npm-27019/1388513549132-0.22752901865169406/tmp.tgz
  </code></pre>
  
  <p>With graceful-fs installed, I re-run npm install and get a couple of these errors: </p>
  
  <pre><code>npm ERR! Error: ENOENT, utime '/Users/cnokes/Downloads/mean-master2/node_modules/express/node_modules/fresh/index.js'
  </code></pre>