Require local node modules with absolute paths doesn't work on Windows
<p>I'm developing a Node application with several modules.
My node-application is transpiled with Babel to <code>/dist/app</code>.</p>

<p>This is an example-structure</p>

<pre><code>.
|- main
|   |- config.js
|   |- factories
|   |     |- example.js
</code></pre>

<p>This is <strong>config.js</strong>:</p>

<pre><code>const ex = require("/main/factories/example");
</code></pre>

<p>I launch config.js with <code>node dist/app/main/config.js</code>.
The resulting error is:</p>

<blockquote>
  <p>Error: Cannot find module '/main/factories/example";</p>
</blockquote>

<p>However when using <code>const ex = require("./factories/example");</code> it works as it should.</p>

<p>This problem only occurs on <strong>Windows</strong> (testing Windows 8.1), both OS X and Linux are fine.</p>

<p><strong>What is the problem here?</strong></p>