title: Chai/Mocha Global/Local
body: <p>I'm confused. I installed Mocha globally via NPM and it is available in my path since I can run <code>mocha</code> from the command line (Windows).</p>
  
  <p>I've also installed Chai globally, but Node cannot find it (<code>Error: Cannot find module 'chai'</code>).</p>
  
  <p>Since they are both installed in the same way, why can't they both be accessed globally, and why are all the sites I've researched saying I need to install Chai locally?</p>