My Node Red flow spontaneously stopped running due to the httrequest node disappearing! As it is a core node, I understand that a repair would necessitate re-installing Node Red. Since the Flow is on a Raspberry Pi 2b which may no longer be supported (or won't be soon), I am concerned that the default bash to re-install Node Red may not work. I also use Node Red on a raspberry pi Zero. The rpis are currently running Node.js v 20.19.1. So my query is it safe to use the current bash to re-install Node Red to "repair" the missing httpreqest node, and will there be a way to keep using Node Red on these devices when they require replacement microsd cards.
Hi,
no idea why a core node would disappear, any more info on what may have caused it, or the circumstances around that ?
Obviously make sure you back up your flows before you re-install or do anything drastic.
The latest script will work on a Pi2 and Pi0 - but will only install nodejs v22 as that is the latest/last version with armv6 processor support. You also need to be using at least PiOS bookworm or trixie (the latest) - it won't work on bullseye or buster.
In theory Node-RED requires nodejs v24 - but currently v5 still works on v22 so is ok at present - but over time some v24 (and later) features may creep in at which point it would stop working - but you can specify the Node-RED version on the install command line also so you should be able to keep them working - albeit without latest features (or security).
Did you mean that it won't work on bookworm?
oops - edited above, thanks @Colin