title: Nodejs: Cannot find module error while trying to require unirest module
body: <p>I have a unirest client folder among node modules.</p>
  
  <p>On trying to require unirest:</p>
  
  <pre><code>var uniClient = require('unirest');
  </code></pre>
  
  <p>Following error appears:</p>
  
  <pre><code>module.js:472
  throw err;
  ^
  
  Error: Cannot find module 'unirest'
  </code></pre>
  
  <p>I also tried requiring as follows:</p>
  
  <pre><code>var uniClient = require('C:/node_modules/unirest');
  </code></pre>
  
  <p>But I get the following error:</p>
  
  <pre><code>module.js:472
      throw err;
      ^
  
  Error: Cannot find module 'C:/workspace/postman/webServices/target/node_modules/unirest'
  </code></pre>
  
  <p>I have checked and the index.js for unirest client is placed in C:/workspace/postman/webServices/target/node_modules/unirest.</p>
  
  <p>I need to know 
  - either, what is the standard path to require the unirest client (kindly do not suggest installation of package I have already done that but in this case I want to require sourcing the folder)</p>
  
  <ul>
  <li>or, which module to look in the unirest directory so that I can find the path to require the same.</li>
  </ul>