Thread:Project:Support desk/Installing Parsoid

I installed Parsoid using the source code method, however it is not functioning. (When I try to test the service using node api/server.js, I get errors). This is the error I receive when I test the service from the parsoid directory :

[aigini_agss@aamy-aamsapp01 parsoid]$ sudo node api/server.js

module.js:340 throw err; ^ Error: Cannot find module 'core-js/shim' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/home/web/microsite/mediawiki/parsoid/lib/core-upgrade.js:2:1) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17)

[aigini_agss@aamy-aamsapp01 parsoid]$

I do not know if this is because I installed Parsoid before installing nodejs. Does the installation sequence matter?

The reason I installed using the source code method was because I could not get the key required for repo install :

'''gpg --keyserver keys.gnupg.net --recv-keys 5C927F7C

gpg -a --export 5C927F7C | sudo apt-key add -'''

I get an error :

[aigini_agss@aamy-aamsapp01 mediawiki]$ gpg --keyserver keys.gnupg.net --recv-keys 5C927F7C

gpg: requesting key 5C927F7C from hkp server keys.gnupg.net gpg: keyserver timed out gpg: keyserver receive failed: Keyserver error

[aigini_agss@aamy-aamsapp01 mediawiki]$

Is there anyway I can get the key? Or resolve the error I receive when I install using the source code?