[Mesh] Installing patchwork with new nodejs version on Fedora
Stuart Gathman
stuart at gathman.org
Fri Jul 28 17:39:14 EDT 2017
On 07/28/2017 04:15 PM, John wrote:
>
>
> On Xubuntu I installed Node.js 4.2.6, and ran npm install, and npm
> start, but got this errror:
>
> Error: *The module
> '/home/john/Documents/Projects/patchwork/node_modules/leveldown/build/Release/leveldown.node'**
> **was compiled against a different Node.js version* using
> NODE_MODULE_VERSION 46. This version of Node.js requires
> NODE_MODULE_VERSION 53. Please try re-compiling or re-installing
>
> Any ideas on how to fix it? Thanks...
>> $ 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!
>>
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).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gathman.org/pipermail/mesh/attachments/20170728/8d9f465f/attachment.html>
More information about the Mesh
mailing list