I have updated node to the LTS v20.16.0 but Node-RED (version v3.1.1) is still seeing Node.js v16.19.1 (I have done npm rebuild
in both the Node-RED user directory and the installation directory.)
I have run the install script (Running on Raspberry Pi : Node-RED) and this all looked like it ran OK, but now Node-RED will not start (and it's still referencing node.js v16:
Node-RED[28375]: Node-RED requires Node.js v18 or later
systemd[1]: nrd.service: Main process exited, code=exited, status=1/FAILURE
I'm stuck! What should I do next?