[Mesh] Installing patchwork with new nodejs version on Fedora

John jcatkeson at gmail.com
Sat Jul 29 10:23:24 EDT 2017


Well recompiling seems to have worked.  From the command line it said this:

~/Documents/Projects/patchwork$ *npm start*
 > ssb-patchwork at 3.6.5 start /home/john/Documents/Projects/patchwork
 > electron index.js

(electron:1588): IBUS-WARNING **: Unable to connect to ibus: Could not 
connect: Connection refused
Log level: notice
git-ssb is not installed, or not available in path

But then the GUI interface opened up anyway and I registered as 'John'.  
When I get back I will mess with it some more, see what can be done.

What does that 'unable to connect to ibus' issue mean, anyway? Is it a 
real obstacle, or just ignore it?


On 07/28/2017 05:39 PM, Stuart Gathman wrote:
> 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).
>
>
> _______________________________________________
> Mesh mailing list
> Mesh at gathman.org
> https://gathman.org/mailman/listinfo/mesh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gathman.org/pipermail/mesh/attachments/20170729/7cfbd6b0/attachment.html>


More information about the Mesh mailing list