<ul dir="auto">
<li>Electron version: 1.2.0</li>
<li>Operating system: OSX (probably others)</li>
</ul>
<p dir="auto">Hi, I'm the maintainer of <a href="https://www.npmjs.com/package/serialport" rel="nofollow">serialport</a>. We've been getting a bunch if issues with people not being able to use our latest release or beta release with electron versions 1.2.x, the 1.1.x line seemed to work well enough. I don't have the greatest of bug reports but a few users seem to have narrowed it down to the versions change and I'm suggesting it to the new issues to see if reverting to 1.1 solves their problems.</p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="157731227" data-permission-text="Title is private" data-url="https://github.com/serialport/node-serialport/issues/838" data-hovercard-type="issue" data-hovercard-url="/serialport/node-serialport/issues/838/hovercard?comment_id=223128319&amp;comment_type=issue_comment" href="https://github.com/serialport/node-serialport/issues/838#issuecomment-223128319">serialport/node-serialport#838 (comment)</a><br>
<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="160403546" data-permission-text="Title is private" data-url="https://github.com/serialport/node-serialport/issues/856" data-hovercard-type="issue" data-hovercard-url="/serialport/node-serialport/issues/856/hovercard" href="https://github.com/serialport/node-serialport/issues/856">serialport/node-serialport#856</a></p>
<p dir="auto">I'm going to upgrade <code class="notranslate">nan</code> for our next release but nothing in the change log suggests it should effect support.</p>
<p dir="auto">Any idea what I can do?</p>
<p dir="auto">This is <code class="notranslate">process.versions</code> in electron 1.2.0:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;http_parser&quot;: &quot;2.7.0&quot;,
  &quot;node&quot;: &quot;6.1.0&quot;,
  &quot;v8&quot;: &quot;5.1.281.47&quot;,
  &quot;uv&quot;: &quot;1.9.0&quot;,
  &quot;zlib&quot;: &quot;1.2.8&quot;,
  &quot;ares&quot;: &quot;1.10.1-DEV&quot;,
  &quot;modules&quot;: &quot;48&quot;,
  &quot;openssl&quot;: &quot;1.0.2h&quot;,
  &quot;electron&quot;: &quot;1.2.0&quot;,
  &quot;atom-shell&quot;: &quot;1.2.0&quot;,
  &quot;chrome&quot;: &quot;51.0.2704.63&quot;
}"><pre class="notranslate">{
  <span class="pl-ent">"http_parser"</span>: <span class="pl-s"><span class="pl-pds">"</span>2.7.0<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"node"</span>: <span class="pl-s"><span class="pl-pds">"</span>6.1.0<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"v8"</span>: <span class="pl-s"><span class="pl-pds">"</span>5.1.281.47<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"uv"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.9.0<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"zlib"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.2.8<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"ares"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.10.1-DEV<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"modules"</span>: <span class="pl-s"><span class="pl-pds">"</span>48<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"openssl"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.0.2h<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"electron"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.2.0<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"atom-shell"</span>: <span class="pl-s"><span class="pl-pds">"</span>1.2.0<span class="pl-pds">"</span></span>,
  <span class="pl-ent">"chrome"</span>: <span class="pl-s"><span class="pl-pds">"</span>51.0.2704.63<span class="pl-pds">"</span></span>
}</pre></div>
<p dir="auto">v8 5.1 is <em>not</em> abi compatible with 5.0, which node 6 ships with. So, <code class="notranslate">.modules=48</code> is incorrect. The way to fix this (I guess) would be to bundle a chrome version that comes with v8 that is compatible with the bundled node version.</p>
<p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="157658324" data-permission-text="Title is private" data-url="https://github.com/nodejs/nan/issues/578" data-hovercard-type="issue" data-hovercard-url="/nodejs/nan/issues/578/hovercard" href="https://github.com/nodejs/nan/issues/578">nodejs/nan#578</a> for answers from node, nan and v8 maintainers.</p>