title: Node Nodemon Error: Cannot find module 'C:\Program Files\nodejs\node_modules\nodemon\bin\'
body: <p>When i tried to execute server.js file using nodemon it is showing error.</p>
  
  <p>C:\Users\gourav\WebstormProjects\Node.js-Register-Login-App-master>nodemon server.js</p>
  
  <p>internal/modules/cjs/loader.js:584</p>
  
  <p>throw err;
      ^</p>
  
  <p>Error: Cannot find module 'C:\Users\gourav\AppData\Roaming\npm\node_modules\nodemon\bin\nodemon.js'</p>
  
  <p>at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)</p>
  
  <pre><code>at Function.Module._load (internal/modules/cjs/loader.js:508:25)
  
  
  at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
  
  at startup (internal/bootstrap/node.js:283:19)
  
  at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
  </code></pre>
  
  <p>npm ERR! file C:\WINDOWS\system32\cmd.exe;C:\Program Files\Java\jdk1.8.0_161\bin;C:\Program Files\nodejs\node_modules\npm\bin;</p>
  
  <p>npm ERR! path C:\WINDOWS\system32\cmd.exe;C:\Program Files\Java\jdk1.8.0_161\bin;C:\Program Files\nodejs\node_modules\npm\bin;</p>
  
  <p>npm ERR! code ELIFECYCLE
  \
  npm ERR! errno ENOENT</p>
  
  <p>npm ERR! syscall spawn C:\WINDOWS\system32\cmd.exe;C:\Program Files\Java\jdk1.8.0_161\bin;C:\Program Files\nodejs\node_modules\npm\bin;</p>
  
  <p>npm ERR! node.js-register-login-app-master@1.0.0 start: <code>nodemon server.js</code></p>
  
  <p>npm ERR! spawn C:\WINDOWS\system32\cmd.exe;C:\Program Files\Java\jdk1.8.0_161\bin;C:\Program Files\nodejs\node_modules\npm\bin; ENOENT</p>
  
  <p>npm ERR!</p>
  
  <p>npm ERR! Failed at the node.js-register-login-app-master@1.0.0 start script.</p>
  
  <p>npm ERR! This is probably not a problem with npm. There is likely additional </p>
  
  <p>logging output above.</p>
  
  <p>npm ERR! A complete log of this run can be found in:</p>
  
  <p>npm ERR!     C:\Users\gourav\AppData\Roaming\npm-cache_logs\2019-03-</p>
  
  <p>19T20_31_26_905Z-debug.log</p>