title: Cannot find module 'node_modules/formidable'
body: <p>In Node.js I was trying to use formidable module but I am always getting error</p>
  
  <pre><code>**Error: Cannot find module 'node_modules/formidable'**
  </code></pre>
  
  <p>Details of error: </p>
  
  <pre><code>C:\Program Files\nodejs&gt;node E:\NODE_JS\App1\index.js
  
  module.js:340
      throw err;
            ^
  Error: Cannot find module 'node_modules/formidable'
      at Function.Module._resolveFilename (module.js:338:15)
      at Function.Module._load (module.js:280:25)
      at Module.require (module.js:364:17)
      at require (module.js:380:17)
      at Object.&lt;anonymous&gt; (E:\NODE_JS\App1\requestHandlers.js:4:18)
      at Module._compile (module.js:456:26)
      at Object.Module._extensions..js (module.js:474:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:312:12)
      at Module.require (module.js:364:17)
  </code></pre>
  
  <p>I have tried to install the module in two way, using the following command</p>
  
  <pre><code>npm install formidable
  npm install -g formidable
  </code></pre>
  
  <p>And when I run the command (above two) to install formidable the result was</p>
  
  <pre><code>C:\Users\Piccaza&gt;npm install formidable
  formidable@1.0.15 node_modules\formidable
  
  C:\Users\Piccaza&gt;npm install -g formidable
  formidable@1.0.15 C:\Users\Piccaza\AppData\Roaming\npm\node_modules\formidable
  </code></pre>
  
  <p>I have installed nodejs in location  <code>C:\Program Files\nodejs</code> </p>
  
  <p>And my project location is <code>E:\NODE_JS\App1</code></p>