Is there a process for reinstalling node red on a gx via ssh, I have installed a node which seems to have crashed it
The easiest way to get this fixed is by removing the `~/.node-red/` directory. This directory gets recreated when it is not there. Sort of back to factory defaults for just Node-RED.
This means that this also removes previous flows and settings, which might not be what you want. You might want to backup all of the `.json` (`package.json` is not needed) and `.js` files in `~/.node-red/` first.
A more fine grained alternative to removing the complete `~/.node-red` directory is to remove the specific node(s) from the installation, using npm while in the `~/.node-red/` directory. (E.g. `npm uninstall node-red-node-google`) Or to edit the `flows.json` file by hand.
23 People are following this question.