Thread:User talk:GWicke/Parsoid on distant server node.js (Error from html5 mod)

Hi,

There is 3 days i'm stucked on this problem. I installed Parsoid on my distant server (node.js 0.10.15) from gandi.net, but when i install dependencies on it, i have multiple errors from modules. So i installed modules manually, but html5 module stay unfound:

> node api/server.js - master loading... module.js:340 throw err; ^ Error: Cannot find module 'html5'

Later, i found your link in the architecture part where we have the "html5-master" repository. I tried to installed it manually too (uploaded html5-master on node_module directory, gone in it, and did "npm install"). I got this:

npm http GET https://registry.npmjs.org/hoek SOLINK_MODULE(target) Release/obj.target/contextify.node flock: ./Release/linker.lock: Bad file descriptor make: *** [Release/obj.target/contextify.node] Error 65 make: Leaving directory `/srv/data/web/vhosts/default/node_modules/html5-master/node_modules/jsdom/node_modules/contextify/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack    at ChildProcess.onExit (/opt/nodejs/0.10.15/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23) gyp ERR! stack    at ChildProcess.EventEmitter.emit (events.js:98:17) gyp ERR! stack    at Process.ChildProcess._handle.onexit (child_process.js:789:12) gyp ERR! System Linux 3.10.10-grsec-paas-a2821fe gyp ERR! command "node" "/opt/nodejs/0.10.15/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /srv/data/web/vhosts/default/node_modules/html5-master/node_modules/jsdom/node_modules/contextify gyp ERR! node -v v0.10.15 gyp ERR! node-gyp -v v0.10.6 gyp ERR! not ok npm http 304 https://registry.npmjs.org/async npm http 304 https://registry.npmjs.org/combined-stream npm http 304 https://registry.npmjs.org/asn1/0.1.11 [...] npm http 304 https://registry.npmjs.org/sntp npm http 304 https://registry.npmjs.org/hoek npm ERR! weird error 1 npm http GET https://registry.npmjs.org/delayed-stream/0.0.5 npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5 npm ERR! not ok code 0

My mediawiki version is 1.22wf11. I tried on multiple way (server changed, tried localhost).

Thanks for followed answers.