title: Error - Cannot find module 'config'
body: <p>I have mail configuration code in <code>all.js</code>. </p>
  
  <p>Now i am trying to import this in my <code>mail.js</code> service, so i imported the <code>config</code> module as follows :-</p>
  
  <p>mail.js</p>
  
  <pre><code>config = require('config'),
  </code></pre>
  
  <p>all.js</p>
  
  <pre><code>mailer: {
          auth: {
              user: "XXXXXXX",
              pass: "abc@123"
          }
      }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/o4SBH.png" alt="enter image description here"></p>
  
  <p>Gives me error cannot find module, but the module exists i have checked it.</p>
  
  <p>How to solve this?</p>