title: Getting error while reading local file in node.js
body: <p>I am trying to read a local file using node.js. My NPM module is trying to execute a child process and that inturn opens a file to read. While reading this throws an error</p>
  
  <pre><code>{ [Error: ENOENT, open 'E:\Project\SecIntegrator\Attack\manifest.json']
    errno: 34,
    code: 'ENOENT',
    path: 'E:\\Project\\SecIntegrator\\Attack\\manifest.json' }
  </code></pre>
  
  <p>Actual path to read this file is </p>
  
  <pre><code>E:\Project\SecIntegrator\node_modules\restScannerDriver\GarudRudra\Attack\manifest.json
  </code></pre>
  
  <p>I have used var <code>configPath = path.join(path.dirname(fs.realpathSync(__filename)), '/');</code> to calculate absolute path but still not working.</p>