Last modified: 2013-12-02 22:17:20 UTC
I'm unable to run parsoid server. ===================================================== $ node api/server.js master(22303) initializing 4 workers /var/www/w/parsoid/js/node_modules/express/lib/http.js:49 app.__proto__ = connect.HTTPServer.prototype; /var/www/w/parsoid/js/node_modules/express/lib/http.js:49 app.__proto__ = connect.HTTPServer.prototype; ^ ^ /var/www/w/parsoid/js/node_modules/express/lib/http.js:49 app.__proto__ = connect.HTTPServer.prototype; TypeError: Cannot read property 'prototype' of undefined at Object.<anonymous> (/var/www/w/parsoid/js/node_modules/express/lib/http.js:49:35) 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) at require (module.js:380:17) at Object.<anonymous> (/var/www/w/parsoid/js/node_modules/express/lib/https.js:13:18) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) ===================================================== Here are more details about my setup: ===================================================== $ node --version ; npm --version ; npm list -g v0.10.22 1.3.14 /usr/local/lib └─┬ npm@1.3.14 ├── abbrev@1.0.4 ├── ansi@0.2.1 ├── archy@0.0.2 ├── block-stream@0.0.7 ├── child-process-close@0.1.1 ├── chmodr@0.1.0 ├── chownr@0.0.1 ├── cmd-shim@1.1.1 ├── editor@0.0.5 ├── fstream@0.1.24 ├─┬ fstream-npm@0.1.6 │ └── fstream-ignore@0.0.7 ├── github-url-from-git@1.1.1 ├── github-url-from-username-repo@0.0.2 ├── glob@3.2.6 ├── graceful-fs@2.0.1 ├── inherits@2.0.1 ├── ini@1.1.0 ├─┬ init-package-json@0.0.11 │ └── promzard@0.2.0 ├── lockfile@0.4.2 ├── lru-cache@2.3.1 ├─┬ minimatch@0.2.12 │ └── sigmund@1.0.0 ├── mkdirp@0.3.5 ├── node-gyp@0.11.0 ├── nopt@2.1.2 ├─┬ npm-registry-client@0.2.29 │ └── couch-login@0.1.18 ├── npm-user-validate@0.0.3 ├─┬ npmconf@0.1.5 │ └─┬ config-chain@1.1.8 │ └── proto-list@1.2.2 ├── npmlog@0.0.6 ├── once@1.3.0 ├── opener@1.3.0 ├── osenv@0.0.3 ├─┬ read@1.0.5 │ └── mute-stream@0.0.4 ├── read-installed@0.2.4 ├─┬ read-package-json@1.1.4 │ └── normalize-package-data@0.2.7 ├─┬ request@2.27.0 │ ├── aws-sign@0.3.0 │ ├── cookie-jar@0.3.0 │ ├── forever-agent@0.5.0 │ ├─┬ form-data@0.1.2 │ │ ├── async@0.2.9 │ │ └─┬ combined-stream@0.0.4 │ │ └── delayed-stream@0.0.5 │ ├─┬ hawk@1.0.0 │ │ ├── boom@0.4.2 │ │ ├── cryptiles@0.2.2 │ │ ├── hoek@0.9.1 │ │ └── sntp@0.2.4 │ ├─┬ http-signature@0.10.0 │ │ ├── asn1@0.1.11 │ │ ├── assert-plus@0.1.2 │ │ └── ctype@0.5.2 │ ├── json-stringify-safe@5.0.0 │ ├── mime@1.2.11 │ ├── node-uuid@1.4.1 │ ├── oauth-sign@0.3.0 │ ├── qs@0.6.5 │ └── tunnel-agent@0.3.0 ├── retry@0.6.0 ├── rimraf@2.2.2 ├── semver@2.2.1 ├─┬ sha@1.2.3 │ └── readable-stream@1.0.17 ├── slide@1.1.5 ├── tar@0.1.18 ├── uid-number@0.0.3 └── which@1.0.5 =====================================================
Was a node system corrupted installation.