HELP - I've broken my Nodebb install - NPM self-signed certificate issue [SOLVED]
-
nope, that didn't work...
-
@sp4rkr4t i think he's suffering from this http://stackoverflow.com/a/22089950/493756
-
Did you try
./nodebb upgrade
as well?
-
@psychobunny yep, that's the command i've used
-
@bentael said:
@sp4rkr4t i think he's suffering from this http://stackoverflow.com/a/22089950/493756
interesting, I wonder if that was the source of some grief we were having yesterday
-
@giorgio-chiodi said: in chat:
npm ERR! Error: SELF_SIGNED_CERT_IN_CHAIN
-
npm ERR! Error: SELF_SIGNED_CERT_IN_CHAIN
npm ERR! at SecurePair.<anonymous> (tls.js:1350:32)
npm ERR! at SecurePair.EventEmitter.emit (events.js:92:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:963:10)
npm ERR! at CleartextStream.read [as _read] (tls.js:463:15)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:320:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:366:25)
npm ERR! at doWrite (_stream_writable.js:219:10)
npm ERR! at writeOrBuffer (_stream_writable.js:209:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:180:11)
npm ERR! at write (_stream_readable.js:573:24)
npm ERR! at flow (_stream_readable.js:582:7)
npm ERR! at Socket.pipeOnReadable (_stream_readable.js:614:5)
npm ERR! If you need help, you may report this log at:
npm ERR! http://bugs.debian.org/npm
npm ERR! or use
npm ERR! reportbug --attach /home/super/nodeBB/nodebb/npm-debug.log npmnpm ERR! System Linux 3.11.0-12-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/super/nodeBB/nodebb
npm ERR! node -v v0.10.15
npm ERR! npm -v 1.2.18[...]
npm WARN package.json [email protected] No README.md file found!
[...]
npm ERR! fetch failed https://registry.npmjs.org/validator/-/validator-3.2.1.tgz
[...]
npm ERR! fetch failed https://registry.npmjs.org/less/-/less-1.6.3.tgz
[...]
npm ERR! fetch failed https://registry.npmjs.org/validator/-/validator-3.2.1.tgz
npm http GET https://registry.npmjs.org/less/-/less-1.6.3.tgz
npm ERR! fetch failed https://registry.npmjs.org/less/-/less-1.6.3.tgz -
@psychobunny Looks like it could well be.
-
the community is pissed over this, don't worry @giorgio-chiodi you're not alone.
! http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more -
yey! i hope there's a fix though
-
did you try the attempted solution in the StackOverflow link?
EDIT: you most likely need
sudo
to update npm -
it's downloading...
-
actually that doesn't make sense, if you can't download anything from
npm
how could you downloadnpm
itself.
trynpm config set ca ""
-
still waiting... the script, I mean
-
thanks to everyone for helping us out!