Node Module Version Mismatch: Expected 50
<p>I've had this problem where, from a brand new installation of Node and npm, the <code>serial port</code> package won't load with the following error in the Hello World Electron package:</p>

<p><a href="https://i.stack.imgur.com/HpGwr.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HpGwr.png" alt="enter image description here"></a></p>

<p>I am on Node version 6.6.0 and NPM version 3.10.7 and OS X 10.11.6.</p>

<p>I looked to see if I was somehow out of date, but looking at <a href="https://nodejs.org/en/download/releases/" rel="noreferrer">this list</a>, I can't find anything that has a module version of 50. Is this a bug?</p>

<p>I have tried <code>npm rebuild</code>, as well as removing modules and reinstalling, but no dice.</p>

<p>Update: even though when I run <code>node -v</code> it prints <code>v6.6.0</code>, running <code>process.versions.node</code> in the web console gives me <code>v6.5.0</code>. What's going on here?</p>