module.js:327 Error: Cannot find module 'express'
<p>Hello I am new in a nodejs and when I run any file in command prompt like:-</p>

<p>C:\demoData>node demo.js</p>

<p>I get error li9ke this </p>

<pre><code>module.js:327
    throw err;
    ^

Error: Cannot find module 'express'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.&lt;anonymous&gt; (C:\demoData\shahzad.js:1:77)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
</code></pre>

<p>I did R&amp;D and get the solution </p>

<p>npm install express</p>

<p>And my Problem has solved using this. But Why I required this I have already express folder globally.this path</p>

<pre><code>C:\Users\broswire\AppData\Roaming\npm\node_modules;
</code></pre>

<p>I want to use this node_modules, I don't want locally node_modules.</p>