When upgrading Node-RED to v5.0 on RasPi using:
bash <(curl -sL https://github.com/node-red/linux-installers/releases/latest/download/install-update-nodered-deb)
The install script left Node.js at v20 and Node-RED fails to start because it requires at least Node.js v22
Running the script again with --node22 or --node24 fixes the problem:
bash <(curl -sL https://github.com/node-red/linux-installers/releases/latest/download/install-update-nodered-deb) ---node22
Or:
bash <(curl -sL https://github.com/node-red/linux-installers/releases/latest/download/install-update-nodered-deb) ---node24
In case it matters:
Hardware: Raspberry Pi 3 Model B Plus Rev 1.3 AArch64
OS: Linux 6.1.21-v8+ (Debian 11)
When upgrading Node-RED to v5.0 on RasPi using:
The install script left Node.js at v20 and Node-RED fails to start because it requires at least Node.js v22
Running the script again with
--node22or--node24fixes the problem:Or:
In case it matters:
Hardware: Raspberry Pi 3 Model B Plus Rev 1.3 AArch64
OS: Linux 6.1.21-v8+ (Debian 11)