<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 07/28/2017 04:15 PM, John wrote:<br>
</div>
<blockquote
cite="mid:95a5abe6-29f2-f92f-a84f-17f1671796e1@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<p><br>
</p>
<p>On Xubuntu I installed Node.js 4.2.6, and ran npm install, and
npm start, but got this errror:</p>
<p> Error: <b>The module
'/home/john/Documents/Projects/patchwork/node_modules/leveldown/build/Release/leveldown.node'</b><b><br>
</b><b>was compiled against a different Node.js version</b>
using<br>
NODE_MODULE_VERSION 46. This version of Node.js requires<br>
NODE_MODULE_VERSION 53. Please try re-compiling or re-installing<br>
</p>
Any ideas on how to fix it? Thanks...
<blockquote type="cite"
cite="mid:ce30e6fe-5ab2-3771-b45f-b1dc47ccc0d5@gathman.org">
<pre wrap="">
$ npm start # this gets a error because some binary builds don't match the node version on Fedora
$ npm run rebuild # this rebuilds native modules with the new node version
$ npm start # this should run finally!
</pre>
</blockquote>
</blockquote>
Note that "run rebuild" is different from "rebuild". "run rebuild"
runs a script that happens to have the same name as an npm command
(just to confuse you).<br>
</body>
</html>