<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong><br>
Bug.</p>

<p dir="auto"><strong>What is the current behavior?</strong><br>
Node throws an error when webpack runs.</p>
<p dir="auto"><a href="https://gist.github.com/onnozel/db6a5bae5960cac1c2c09a5c6a1f4577">Error log</a></p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>

<p dir="auto"><a href="https://gist.github.com/onnozel/2bf5ba5f7142278d62e6bb632d67b1e5">package.json</a></p>
<p dir="auto"><a href="https://gist.github.com/onnozel/2111622f2128ad58e7a756d9e308b532">webpack.config.js</a></p>
<p dir="auto"><strong>What is the expected behavior?</strong><br>
Webpack should run the build.</p>
<p dir="auto"><strong>Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.</strong><br>
webpack@2.2.0-rc.4<br>
node@5.7.0<br>
Windows 7</p>
<p dir="auto">The build runs fine when using rc.3 or when using node &gt;= 6.0.0</p>
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p>
<p dir="auto">bug</p>
<p dir="auto"><strong>What is the current behavior?</strong></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=".../node_modules/webpack/lib/SourceMapDevToolPlugin.js:158
Buffer.from(JSON.stringify(sourceMap)).toString(&quot;base64&quot;);
 TypeError: this is not a typed array"><pre class="notranslate"><code class="notranslate">.../node_modules/webpack/lib/SourceMapDevToolPlugin.js:158
Buffer.from(JSON.stringify(sourceMap)).toString("base64");
 TypeError: this is not a typed array
</code></pre></div>
<p dir="auto">this breaks my deploy</p>
<p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce.</strong></p>
<p dir="auto"><code class="notranslate">devtool: '#inline-source-map'</code> in node4?</p>
<p dir="auto"><strong>If this is a feature request, what is motivation or use case for changing the behavior?</strong></p>
<p dir="auto">In this commit <code class="notranslate">Buffer.from</code> is used, but it was introduced in node6<br>
<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/webpack/webpack/commit/7327ee608a040ec784cc251663be85c2aedac44c/hovercard" href="https://github.com/webpack/webpack/commit/7327ee608a040ec784cc251663be85c2aedac44c"><tt>7327ee6</tt></a></p>
<p dir="auto">Maybe create some ponyfill for that?</p>