title: node.js Cannot find module './lib/compat'
body: <p>I am running a JavaScript code on Ubuntu server using node.js 
  I got this error.</p>
  
  <pre><code>module.js:340
      throw err;
            ^
  Error: Cannot find module './lib/compat'
      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/nodejs/node_modules/express/node_modules/depd/index.js:11:24)
      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>How to debug this error?</p>
  
  <p>Edit: using these dependencies.</p>
  
  <pre><code>var express = require('express');
  var fs = require('fs');
  var request = require('request');
  var cheerio = require('cheerio');
  </code></pre>