Is there a process for reinstalling node red on a gx via ssh, I have installed a node which seems to have crashed it
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Is there a process for reinstalling node red on a gx via ssh, I have installed a node which seems to have crashed it
Hi @David Gould, I am moving this question to the "Modifications" Space for non-Victron-supported issues and to increase its likelihood of being seen by other users of non-supported systems who may have experience with this.
Thanks, I re-flashed the. device earlier today, but would still like to know if it does it again, would save a lot of typing!!
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.