title: nodemon can not find module debug
body: <p>I am trying to write a basic MEAN stack application using the express generator command. I am able to run <code>npm start</code> and was able to run my app. However, when I run <code>nodemon</code> I am getting the following error.</p>
  
  <pre><code>module.js:340
      throw err;
            ^
  Error: Cannot find module 'debug'
      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; (/usr/lib/node_modules/nodemon/lib/nodemon.js:1:75)
      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 checked that the <code>node_modules</code> folder does contain the <code>debug</code> module. I am not able to see where I am going wrong. Can you please help?</p>