title: Cannot resolve path in Mocha
body: <p>I am currently using Nitrous, which shouldn't matter, but I needed to install mocha so I typed in:</p>
  
  <pre><code>npm install - g mocha.
  </code></pre>
  
  <p>Everything installed and when I try to run mocha in my command line I get the following error: </p>
  
  <blockquote>
    <p>/home/action/.parts/lib/node_modules/mocha/bin/_mocha:454<br>
          if (!files.length) throw new Error("cannot resolve path (or pattern) '" </p>
    
    <p>Error: cannot resolve path (or pattern) 'test/unit'<br>
        at lookupFiles (/home/action/.parts/lib/node_modules/mocha/bin/_mocha:454:32)<br>
        at runAgain (/home/action/.parts/lib/node_modules/mocha/bin/_mocha:305:24)<br>
        at Array.forEach (native)<br>
        at Object. (/home/action/.parts/lib/node_modules/mocha/bin/_mocha:304:6)<br>
        at Module._compile (module.js:456:26)<br>
        at Object.Module._extensions..js (module.js:474:10)<br>
        at Module.load (module.js:356:32)<br>
        at Function.Module._load (module.js:312:12)<br>
        at Function.Module.runMain (module.js:497:10)<br>
        at startup (node.js:119:16)<br>
        at node.js:902:3      </p>
  </blockquote>
  
  <p>Does anyone know how to solve this?</p>