HELP - I've broken my Nodebb install - NPM self-signed certificate issue [SOLVED]
-
so try the
set ca
workaround, then update npm, ..also someone suggested:
sudo npm config set strict-ssl false sudo npm update npm -g sudo npm config set strict-ssl true
@bentael Ok it's working again! YEY!
I did this
sudo npm config set ca ""
followed by this
sudo npm config set strict-ssl false sudo npm update npm -g sudo npm config set strict-ssl true
then
./nodebb upgrade
-
thanks to everyone for helping us out!
-
@giorgio-chiodi you're welcome, could you re-edit your comment so the commands won't be on the same line, use the 3 backticks to start and end a code block "`"
sudo npm config set strict-ssl false sudo npm update npm -g sudo npm config set strict-ssl true
-
@giorgio-chiodi you're welcome, could you re-edit your comment so the commands won't be on the same line, use the 3 backticks to start and end a code block "`"
sudo npm config set strict-ssl false sudo npm update npm -g sudo npm config set strict-ssl true
@bentael ah that's how you did it. yours still looks better than mine, though.
Copyright © 2025 NodeBB | Contributors