Talk:Parsoid/Archive

Set up in web server?
My wiki is on the webserver running Linux 2.6. I've installed node by following ./configure --prefix=${HOME}/local/ make make install Now, I've downloaded Parsoid and copied into the wiki's extension directory: ${HOME}/public_html/testwiki/testwiki/extension/ And, I did cd Parsoid/js npm install Edit the localsettings.js as parsoidConfig.setInterwiki( 'testwiki', 'http://test.mydomain.com/testwiki/' ); and, run the Parsoid server like this: cd Parsoid/js node api/server.js And when I checked the webpage of http://test.mydomain.com:8000/testwiki, but the browser failed to open the page.

Is there anything I missed? Would someone guide me how to set up properly in a webserver, please? (I don't have root access since it is on the webserver.)

Multiple wikis
Can several Mediawiki installation use the same Parsoid server? --Amir E. Aharoni (talk) 18:35, 13 October 2012 (UTC)


 * Yes. The Parsoid takes a prefix when the requests come in to determine which wiki you're talking about. Jdforrester (WMF) (talk) 22:34, 15 October 2012 (UTC)


 * Hello Jdforrester, could you please elaborate. In my setup, one Ubuntu server and two wikis (ohne http and one https) this is not working or lets say I do not know how to set it up correctly. --SmartK (talk) 08:34, 6 September 2013 (UTC)

VPS needed?
I'm running the VisualEditor on a shared server that doesn't allow background services like Parsoid to run. Is there any option to connect to a server running elsewhere? A group parsoid server perhaps? Or will everyone with a MediaWiki site have to upgrade to a VPN?


 * Yes what? Everyone with a MediaWiki site has to upgrade to a VPS?


 * The "yes" wasn't a reply to that comment (indeed, it was written two months previously - have now added the "unsigned" templates). To answer the question, we're looking at building out support for HTML-only wikis that will let you edit with VisualEditor without being able to run Parsoid. Stay tuned! Jdforrester (WMF) (talk) 00:43, 17 July 2013 (UTC)

Gateway between NodeJS/PHP to provide MediaWiki hooks to handle third-party extensions?
Will it be possible to use the hooks from the code MediaWiki like SematicMediaWiki and processing properties Parsoid through a gateway PHP-NodeJS? Vit1251 (talk) 13:24, 19 March 2013 (UTC)

You plan to upgrade nodejs 0.9 and later?
You plan to upgrade nodejs 0.9 and later? Vit1251 (talk) 13:24, 19 March 2013 (UTC)
 * We now support nodejs 0.10. Cscott (talk) 14:43, 14 August 2013 (UTC)

How about using the Travis-CI test Parsoid on GitHUB?
How about using the Travis-CI test Parsoid on GitHUB? Vit1251 (talk) 13:24, 19 March 2013 (UTC)
 * We use the wikimedia foundation's repository, which uses Jenkins to do automatic integration testing. See Continuous integration/Jenkins. Cscott (talk) 14:45, 14 August 2013 (UTC)

You do not plan to switch completely to GitHUB and hide you repository?
Your repository is hard to see the changes and ask, and the user friendly interface and GitHUB availability issue tracker. Vit1251 (talk) 13:35, 19 March 2013 (UTC)
 * We use the wikimedia foundation's repository. See Gerrit for our code review tool and  is our gitblit installation for browsing source.  There are also github mirrors at .  We use Bugzilla for bug tracking.  See also bug 35497 which discusses ways to sync github and gerrit.  I'll look into enabling yuvi's tools for the parsoid repo. Cscott (talk) 14:52, 14 August 2013 (UTC)

Running Parsoid on a "private" wiki - AccessDeniedError
I have a private wiki in which the users have to log in to read the contents. I managed to install Parsoid (for the VisualEditor extension), but when I run the API server (node api/server.js), I get the following error message.

AccessDeniedError: Your wiki requires a logged-in account to access the API. Parsoid will not work for this wiki!

If I set $wgGroupPermissions['*']['read'] = true; it runs fine, but then the wiki is no longer private. I understand that mediawiki is designed to be "open", but for what I'm using it for, I need to make it private. Any idea?

Installing on a private wiki
If you wan't to install visual editor onto a private wiki

$local_ip = '127.0.0.1'; if ( $_SERVER['REMOTE_ADDR'] == $local_ip ) { $wgGroupPermissions['*']['read'] = true; $wgGroupPermissions['*']['edit'] = true; }else{ $wgGroupPermissions['*']['read'] = false;
 * 1) Disable reading by anonymous users

$wgWhitelistRead = array ("Special:Userlogin", "MediaWiki:Common.css", "MediaWiki:Common.js", "MediaWiki:Monobook.css", "MediaWiki:Monobook.js", "-");

$wgGroupPermissions['*']['edit'] = false; }
 * 1) Disable anonymous editing

--This code needs to be slightly, working on it.

Didn't work for me.. had to change it into this:

Removed: $local_ip = '127.0.0.1'; if ( $_SERVER['REMOTE_ADDR'] == "127.0.0.1" OR $_SERVER['REMOTE_ADDR'] == "public ip of the server" ) { Ricmik (talk) 13:05, 1 September 2013 (UTC)

Windows Server 2008 R2
Anyone knows how to get this running in Windows Server 2008 R2?

How can I config to allow Parsoid support multiple wiki?
One of our programmer stubbornly believe that one Parsoid could only support one wiki. I know he is wrong since Wikipedia and Wikia use this in many many wikis. I just don't know how to config. Does anyone know how to config?
 * See js/lib/mediawiki.ParsoidConfig.js in the source code, and js/api/localsettings.js.example. Basically you need to set up 'interwiki' prefixes for all your wikis. Cscott (talk) 15:27, 14 August 2013 (UTC)
 * Could someone maybe show us a sample of the config for this interwiki setup? Would be great!--SmartK (talk) 08:38, 6 September 2013 (UTC)

Error to install Parsoid on WAMP for Win-7x64...
Hello ! I'm French, sorry for my poor English... I Try to install Parsoid for MediaWiki on WAMP in Windows 7 x64 from this link: http://www.mediawiki.org/wiki/Parsoid#Getting_started

I launch the instal with: "npm install" into : D:\WEB\WAMP\WWW\Website\MyWiki\Extensions\Parsoid\js\

Then I get this final error at the line 281 of npm-debug.log=> ... 277 http 200 https://registry.npmjs.org/domino/1.0.8 278 silly registry.get cb [ 200, 278 silly registry.get  { vary: 'Accept', 278 silly registry.get    server: 'CouchDB/1.3.0 (Erlang OTP/R15B03)', 278 silly registry.get    etag: '"79B59T2JHOSGNNRDXW55UM8PK"', 278 silly registry.get    date: 'Fri, 14 Jun 2013 06:51:45 GMT', 278 silly registry.get    'content-type': 'application/json', 278 silly registry.get    'content-length': '3147' } ] 279 http 200 https://registry.npmjs.org/pegjs 280 silly registry.get cb [ 200, 280 silly registry.get  { vary: 'Accept', 280 silly registry.get    server: 'CouchDB/1.3.0 (Erlang OTP/R15B03)', 280 silly registry.get    etag: '"B1AA422IDG6T49O2B4HUMSAD2"', 280 silly registry.get    date: 'Fri, 14 Jun 2013 06:51:45 GMT', 280 silly registry.get    'content-type': 'application/json', 280 silly registry.get    'content-length': '19774' } ] 281 http GET https://registry.npmjs.org/events/-/events-0.5.0.tgz 282 error Error: No compatible version found: jshashes@'>=0.0.0- <1.0.0-' 282 error Valid install targets: 282 error ["1.0.2","1.0.3"] 282 error    at installTargetsError (C:\Program Files (x86)\nodejs\node_modules\npm\lib\cache.js:682:10) 282 error    at next (C:\Program Files (x86)\nodejs\node_modules\npm\lib\cache.js:661:17) 282 error    at C:\Program Files (x86)\nodejs\node_modules\npm\lib\cache.js:641:5 282 error    at saved (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\get.js:138:7) 282 error    at Object.oncomplete (fs.js:297:15) 283 error If you need help, you may report this log at: 283 error     283 error or email it to: 283 error     284 error System Windows_NT 6.1.7601 285 error command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" 286 error cwd D:\WEB\WAMP\WWW\Website\MyWiki\Extensions\Parsoid\js 287 error node -v v0.8.22 288 error npm -v 1.2.14 289 verbose exit [ 1, true ] [EOF]

Maybe that's because "Win7" instead of "Unix" ?? Thanks for any reply, or advise to install this Parsoid...

Godvicien (talk) 07:36, 14 June 2013 (UTC)
 * This should be fixed, we no longer depend on jshashes. Cscott (talk) 15:27, 14 August 2013 (UTC)

Grrrr Debian assumptions
It's bad enough that only Debian based Linux distros have "apt" command, and the installation instructions are flawed for all other Linux users, but it also totally ignores Windows/Apache Windows/IIS users.

So can we even use VisualEditor and Parsoid??? If not, then this REALLY needs to be made clear upfront. As I just wasted hours updating a server to use this, only to fall at this hurdle.


 * We've had reports of users installing it on Windows machines, but not sure if they were using local POSIX emulation/compatibility. Sorry for the confusion. Jdforrester (WMF) (talk) 15:55, 5 July 2013 (UTC)


 * We could use help from the community to support Windows installation. It *should* work.  If someone could write up good instructions, it would be very useful. No one on the dev team runs windows themselves. (Similarly for non-Debian/Ubuntu installs.) Cscott (talk) 14:42, 14 August 2013 (UTC)

Error downloading node
I'm having difficulty downloading the correct node version as per the instructions. When I try to get the legacy version, I get:

apt-get install nodejs nodejs-legacy npm E: Unable to locate package nodejs-legacy

And so I install the Chris Lea repository version, but then on install:

npm ERR! Not compatible with your version of node/npm: request@2.22.0 npm ERR! Required: ["node >= 0.8.0"] npm ERR! Actual:  {"npm":"1.1.4","node":"0.6.12"}

apt-get install nodejs npm nodejs is already the newest version. npm is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

Any help would be much appreciated!--Stuartbman (talk) 15:01, 21 July 2013 (UTC)
 * what system are you on? nodejs-legacy isn't strictly required, it just lets you type 'node' instead of 'nodejs' on the commandline. Cscott (talk) 15:27, 14 August 2013 (UTC)

TypeError: Cannot read property 'oldid' of undefined
Hello all :)

the newest Parsoid run on my server and parse all wiki text correctly. But if i want to save a page, the parsoid console output is this: /var/www/services/Parsoid/js/api/ParserService.js:635 var doc, oldid = req.body.oldid || null; ^ TypeError: Cannot read property 'oldid' of undefined at app.post.cb (/var/www/services/Parsoid/js/api/ParserService.js:635:28) at getParserServiceEnv (/var/www/services/Parsoid/js/api/ParserService.js:376:4) at MWParserEnvironment.getParserEnv (/var/www/services/Parsoid/js/lib/mediawiki.parser.environment.js:279:3) at setupWikiConfig (/var/www/services/Parsoid/js/lib/mediawiki.parser.environment.js:299:3) at ApiRequest._processListeners.processSome (/var/www/services/Parsoid/js/lib/mediawiki.ApiRequest.js:102:17) at process.startup.processNextTick.process._tickCallback (node.js:245:9) worker 2942 died (1), restarting. - worker(2947) loading... - worker(2947) ready The POST request from Wiki looks ok, Content type is "application/x-www-form-urlencoded; charset=UTF-8", the content of the request: summary:Testedit minor:1 format:json action:visualeditoredit page:Testpage oldid:6833 basetimestamp:20130730144824 starttimestamp:20130803151237 html:htmlcontent token:a6e377be0566413a23b9e2d52b18f115+\ Has anyone an idea what the error is? Thanks!


 * Had the same problem after resolving mine above, help would be really appreciated. --Stuartbman (talk) 13:22, 8 August 2013 (UTC)
 * Also have had the very same problem (identical trace). Solved it with switching to epress 3.x, as indicated in the article under "Install dependencies": "I had to manually change package.json for the express item from 2.5.x to 3.x in order to parsoid to work". After changing Parsoid/js/packacke.json in this way, do an "npm install" again. (When the server runs, you will get a lot of deprecation warnings, but it seems that these can be ignored.) --95.33.104.9 20:13, 11 August 2013 (UTC)


 * See bug 52840. It appears that this might be a 'connect' incompatibility.  We don't actually recommend using express 3.x yet, since it's not compatible with express 2.x and we don't use it in production or development. Cscott (talk) 15:27, 14 August 2013 (UTC)

Error contacting the Parsoid server
Hi, I've been trying all night to get the VisualEditor to work, but no luck.

I'm running MediaWiki 1.22alpha on Ubuntu Precise. The parsoid is working ok at http://wikineering.org:8000/, the wiki too at http://wikineering.org/mediawiki/, the api too at http://wikineering.org/mediawiki/api.php

The relevant configuration variables in  set as such: $wgVisualEditorParsoidURL = 'http://localhost:8000'; $wgVisualEditorParsoidPrefix = 'localhost'; And in, I have: parsoidConfig.setInterwiki( 'localhost', 'http://localhost/mediawiki/api.php' );

When I click on the "Edit" button, the VisualEditor loads. But when I hit "Save", I get a little "Error contacting the Parsoid server" error message right below the textarea for the edit summary. I've also tried with "wikineering" and "wikineering.org" instead of "localhost", and every combination I could come up with, but no luck. I downloaded the Lynx browser and checked that http://localhost:8000 and http://localhost/mediawiki/api.php are working. They are.

Any ideas? Thanks in advance!


 * See above? Does that help? Cscott (talk) 14:40, 14 August 2013 (UTC)


 * Indeed, I saw it only a while ago, my bad. The issue has been reported as 52840.

Translating mathematics markup
Hello. In a discussion about the way Flow might handle mathematics markup here, I was told I don't think that anyone has said that HTML5+RDF storage precludes storage for mathematics work; that's something that the Parsoid team is working on. Is this something which is likely to be possible under Flow? It would be interesting to know how it is proposed to handle the translation and storage of $$...$$. There might be some interest, and even help, at en:WT:WPM. Spectral sequence (talk) 21:17, 18 August 2013 (UTC)
 * We are handling math just as any other tag extension. Attributes and extension content (latex in case of math) are exposed for editing. AFAIK the VisualEditor team is working both on a specialized math widget and generic tag extension editing that uses this.
 * Our current rendering uses the PHP default rendering (PNG images). We'd like to explore rendering to MathML with MathJax in the future (see bug 51698), but this won't affect the Latex-based editing interface at all. MathML-based editing would require a bidirectional conversion between MathML to Latex. -- Gabriel Wicke (GWicke) (talk) 19:19, 19 August 2013 (UTC)

vagrant
I tried to setup parsoid via vagrant. All I did is enabled the role. However if I try to click on that javascript edit box I get an error.

Error loading data from server:parsoidserver-http-request-error: MWHttpRequest error. Would you like to retry?

If I click yes the error occurs again and again. Do I need to configure something anything special?

Which Versions which Errors
It would be very nice to get detailed informations which 3party package-versions are used (node.js, D-BUS etc.). This would make it possible to follow with an optimized, dedicated system. For now I get the following output. Do I really have to install git too or is there a hint available? Actually I only want to install the extension, instead of a complete repository management system or dev- environment like Vagrant.

Debian 6:

npm install root@euve30883:/var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js

npm WARN package.json mediawiki-parsoid@0.0.1 No repository field. npm http GET https://registry.npmjs.org/path npm http GET https://registry.npmjs.org/optimist npm http GET https://registry.npmjs.org/pegjs npm http GET https://registry.npmjs.org/assert npm http GET https://registry.npmjs.org/domino npm http GET https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/events npm http GET https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/html5-entities npm http GET https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/diff npm http GET https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/alea npm http GET https://registry.npmjs.org/querystring npm http GET https://registry.npmjs.org/entities npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH.
 * 1) npm install

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! code ENOGIT npm http 200 https://registry.npmjs.org/pegjs npm http GET https://registry.npmjs.org/pegjs/-/pegjs-0.7.0.tgz npm http 200 https://registry.npmjs.org/path npm http GET https://registry.npmjs.org/path/-/path-0.4.9.tgz npm http 200 https://registry.npmjs.org/assert npm http GET https://registry.npmjs.org/assert/-/assert-0.4.9.tgz npm http 200 https://registry.npmjs.org/domino npm http GET https://registry.npmjs.org/domino/-/domino-1.0.12.tgz npm http 200 https://registry.npmjs.org/events npm http GET https://registry.npmjs.org/events/-/events-0.5.0.tgz npm http 200 https://registry.npmjs.org/lru-cache npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-1.1.1.tgz npm http 200 https://registry.npmjs.org/optimist npm http GET https://registry.npmjs.org/optimist/-/optimist-0.6.0.tgz npm http 200 https://registry.npmjs.org/html5-entities npm http GET https://registry.npmjs.org/html5-entities/-/html5-entities-0.5.0.tgz npm http 200 https://registry.npmjs.org/colors npm http GET https://registry.npmjs.org/colors/-/colors-0.6.2.tgz npm http 200 https://registry.npmjs.org/diff npm http GET https://registry.npmjs.org/diff/-/diff-1.0.7.tgz npm http 200 https://registry.npmjs.org/alea npm http GET https://registry.npmjs.org/alea/-/alea-0.0.9.tgz npm http 200 https://registry.npmjs.org/assert/-/assert-0.4.9.tgz npm http 200 https://registry.npmjs.org/querystring npm http GET https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz npm http 200 https://registry.npmjs.org/entities npm http GET https://registry.npmjs.org/entities/-/entities-0.2.2.tgz npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-1.1.1.tgz npm http 200 https://registry.npmjs.org/pegjs/-/pegjs-0.7.0.tgz npm http 200 https://registry.npmjs.org/path/-/path-0.4.9.tgz npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.6.0.tgz npm http 200 https://registry.npmjs.org/express npm http 200 https://registry.npmjs.org/events/-/events-0.5.0.tgz npm http GET https://registry.npmjs.org/express/-/express-2.5.11.tgz npm http 200 https://registry.npmjs.org/html5-entities/-/html5-entities-0.5.0.tgz npm http 200 https://registry.npmjs.org/domino/-/domino-1.0.12.tgz npm http 200 https://registry.npmjs.org/colors/-/colors-0.6.2.tgz npm http 200 https://registry.npmjs.org/diff/-/diff-1.0.7.tgz npm http 200 https://registry.npmjs.org/request npm http GET https://registry.npmjs.org/request/-/request-2.27.0.tgz npm http 200 https://registry.npmjs.org/alea/-/alea-0.0.9.tgz npm http 200 https://registry.npmjs.org/async npm http GET https://registry.npmjs.org/async/-/async-0.2.9.tgz npm http 200 https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz npm http 200 https://registry.npmjs.org/entities/-/entities-0.2.2.tgz npm http 200 https://registry.npmjs.org/express/-/express-2.5.11.tgz npm http 200 https://registry.npmjs.org/request/-/request-2.27.0.tgz npm http 200 https://registry.npmjs.org/async/-/async-0.2.9.tgz npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js/npm-debug.log npm ERR! not ok code 0 root@euve30883:/var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js#

-- testing countinuing....

npm update --

npm http 304 https://registry.npmjs.org/alea npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR!  npm ERR! or email it to: npm ERR! 

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/events npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR!  npm ERR! or email it to: npm ERR! 

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/querystring npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR!  npm ERR! or email it to: npm ERR! 

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/entities npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR!  npm ERR! or email it to: npm ERR! 

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/optimist npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR!  npm ERR! or email it to: npm ERR! 

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/assert npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR!  npm ERR! or email it to: npm ERR! 

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/request npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR!  npm ERR! or email it to: npm ERR! 

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/domino npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <npm-@googlegroups.com>

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/pegjs npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <npm-@googlegroups.com>

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/lru-cache npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <npm-@googlegroups.com>

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/html5-entities npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <npm-@googlegroups.com>

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/express npm http 304 https://registry.npmjs.org/path npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <npm-@googlegroups.com>

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <npm-@googlegroups.com>

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm http 304 https://registry.npmjs.org/async npm ERR! TypeError: Cannot read property 'from' of undefined npm ERR! at /usr/local/lib/node_modules/npm/lib/outdated.js:159:36 npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:591:30 npm ERR! at /usr/local/lib/node_modules/npm/node_modules/lockfile/lockfile.js:55:41 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <npm-@googlegroups.com>

npm ERR! System Linux 2.6.32-028stab107.2 npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "update" npm ERR! cwd /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js npm ERR! node -v v0.10.18 npm ERR! npm -v 1.3.8 npm ERR! type non_object_property_load npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js/npm-debug.log npm ERR! not ok code 0 root@euve30883:/var/www/vhosts/euve30883.vserver.de/httpdocs/extensions/Parsoid/js# --Steviex2 (talk) 04:40, 14 September 2013 (UTC)

Run parsoid over https?
I'm installing the Visual Editor and Parsoid on a dev wiki for the company I work for to test out the visual editor before it gets released with the stable mediawiki 1.22 later this year.

The production wiki is externally faceable, and we're running over https rather than http. Is this a problem with running the webservice, which runs over http and port 8000?

Is it as simple as reconfiguring iptables, a configuration change, or something that requires fundamentally alter the Parsoid code?

Thanks, Silversonic (talk) 17:30, 14 September 2013 (UTC)