Talk:Parsoid/JS/Setup

it would be nice if there is a suggested location for parsoid, does it go with extensions, should it be percived as something in /usr/local or maybe /opt .... etc.


 * I second to to this --Harnas1977 (talk) 09:15, 4 March 2014 (UTC)

Error: SSL Error: CERT_UNTRUSTED
npm ERR! Error: SSL Error: CERT_UNTRUSTED npm ERR! at ClientRequest. (/usr/lib/nodejs/npm/node_modules/request/main.js:440:26) npm ERR! at ClientRequest.g (events.js:185:14) npm ERR! at ClientRequest.EventEmitter.emit (events.js:88:17) npm ERR! at HTTPParser.parserOnIncomingClient (http.js:1445:7) npm ERR! at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23) npm ERR! at CleartextStream.socketOnData (http.js:1356:20) npm ERR! at CleartextStream.CryptoStream._push (tls.js:396:27) npm ERR! at SecurePair.cycle (tls.js:750:20) npm ERR! at EncryptedStream.CryptoStream.write (tls.js:131:13) npm ERR! at Socket.ondata (stream.js:38:26) npm ERR! [Error: SSL Error: CERT_UNTRUSTED] npm ERR! You may report this log at: npm ERR!  npm ERR! or email it to: npm ERR! 

npm ERR! System Linux 3.2.0-59-virtual npm ERR! command "nodejs" "/usr/bin/npm" "install" npm ERR! cwd /home/nemobis/parsoid npm ERR! node -v v0.8.2 npm ERR! npm -v 1.1.39 npm ERR! message SSL Error: CERT_UNTRUSTED npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/diff npm http GET https://registry.npmjs.org/es6-shim npm http GET https://registry.npmjs.org/optimist npm http GET https://registry.npmjs.org/html5 npm http GET https://registry.npmjs.org/pegjs npm http GET https://registry.npmjs.org/alea npm http GET https://registry.npmjs.org/simplediff/0.1.1 npm http GET https://registry.npmjs.org/domino npm http GET https://registry.npmjs.org/express npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/nemobis/parsoid/npm-debug.log npm ERR! not ok code 0 Sob. --Nemo 08:22, 17 March 2014 (UTC)

dumpGrepper.js
Of course it depends on dumpReader.js which says "npm install libxmljs", but that didn't work for me. --Nemo 11:02, 17 March 2014 (UTC)

Run the Server
On my debian-wheezy the start-command is not "node api/server.js" it is "nodejs api/server.js". Can anyone confirm this?

Can we point parsoid to use node.js on a remote server?
We're running a wiki (ver 1.22.3) and would like to install parsoid for the visual editor. It runs on shared hosting that doesn't allow installing node.js. Can we point parsoid to use node.js on a remote server, eg with heroku.com's free service? If so--how would we need to tweak parsoid? --Tickle me (talk) 19:44, 28 April 2014 (UTC)