title: node.js cannot find a module in the same folder
body: <p>Im trying to use a simple "colors" module to set cli-colors in my logs, nothing special.</p>
  
  <p>Well, i have a module called <code>colors.js</code> in the path <code>./app/config/colors.js</code>, the content:</p>
  
  <pre><code>var clc = require('cli-color');
  
  var colors = {
    ok: clc.cyan,
    error: clc.red.bold,
    warn: clc.yellowBright,
    high: clc.white.bgGreen
  };
  
  module.exports = colors;
  </code></pre>
  
  <p>Simple. Well, when i require it in the server.js (at the root of the project, above of /app) it works fine, but, when i try to use it in the <code>./app/config/db.js</code> it throws me an error: </p>
  
  <pre><code>Error: Cannot find module './app/config/colors.js'
      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; (/home/nano/Dev/bears-api/app/config/db.js:3:14)
      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)
  14 Sep 10:21:00 - [nodemon] app crashed - waiting for file changes before starting...
  </code></pre>
  
  <p>Why if it works in the server.js?</p>