https://bugzilla.wikimedia.org/show_bug.cgi?id=70120
Bug ID: 70120
Summary: upgrade node in tools labs
Product: Wikimedia Labs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: tools
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
I'd like to get a more modern version of node installed in Tools Labs for the
anon project. Right now we have v0.8.2 installed but v0.10.31 is available if
we add another apt repository:
apt-add-repository ppa:chris-lea/node.js
I get an error when attempting to npm install packages (see below). I believe
this error is the result of an older version of npm that comes with v0.8.2. I
installed v0.10.30 locally and the problem went away. I would like to have a
more modern node installed so I can use the open grid engine to manage the anon
bot. Right now I have it running using a locally installed version of node in
/data/project/anon/node/
Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN
npm ERR! at ClientRequest.<anonymous>
(/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 [as onIncoming]
(http.js:1445:7)
npm ERR! at HTTPParser.parserOnHeadersComplete [as onHeadersComplete]
(http.js:111:23)
npm ERR! at CleartextStream.socketOnData [as ondata] (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: SELF_SIGNED_CERT_IN_CHAIN]
npm ERR! You may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 3.2.0-59-virtual
npm ERR! command "nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/edsu/Projects/anon
npm ERR! node -v v0.8.2
npm ERR! npm -v 1.1.39
npm ERR! message SSL Error: SELF_SIGNED_CERT_IN_CHAIN
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/ipv6
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/edsu/Projects/anon/npm-debug.log
npm ERR! not ok code 0
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l