Page MenuHomePhabricator

Graphoid installation fails
Closed, DeclinedPublic

Description

Running npm install as per the Graphoid documentation gives me this:

Capture d’écran 2015-11-19 à 14.18.20.png (1×1 px, 112 KB)

Something about the cairo module going missing

Event Timeline

ferdbold raised the priority of this task from to Needs Triage.
ferdbold updated the task description. (Show Details)
ferdbold added a project: Graphoid.
ferdbold added subscribers: ferdbold, Yurik.

https://www.npmjs.com/package/canvas is a server-side implementation of the canvas API backed by Cairo. It looks like you should install http://cairographics.org first.

If so, we should probably update the Graphoid documentation to reflect that

I think Graphoid does not have any documentation, we/i should write it. I dug up these notes, but not sure of relevancy any more

sudo apt-get install nodejs-legacy npm libcairo2-dev libjpeg-dev libgif-dev
cd /vagrant/mediawiki/extensions/Graph/nodejs
npm install vega
npm install nodemw
npm install async

on vagrant:
sudo apt-get install nodejs libcairo2-dev libjpeg-dev libgif-dev
npm install vega
npm install nodemw
npm install async
Jdforrester-WMF subscribed.

The Graphoid service has been undeployed and the repo is being archived, per T274738: Archive the graphoid service and deploy repos.