Raspberry Pi 2 Model B Rev 1.1
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Raspberry Pi reference 2021-03-04
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 461109415073d2eb67083709662ba983cc191f14, stage5
Linux BedPi 5.10.17-v7+ #1414 SMP Fri Apr 30 13:18:35 BST 2021 armv7l GNU/Linux
total used free shared buff/cache available
Mem: 924Mi 359Mi 53Mi 31Mi 511Mi 485Mi
Swap: 1.0Gi 7.0Mi 1.0Gi
It is running NR 2.1.3
Dashboard 3.1.2
node -v gives me 12.22.1
I am just wanting to confirm this command will work to update NR. bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
looks good to me but I'd add -node16 to the end to get node js version
at least this is what I use for my pi 3 but you list a Pi 3b and then you say Pi 2 model B,
I'm confused
Running Node-RED update for user pi at /home/pi on raspbian
Node-RED v3.x no longer supports Nodejs 12
You can force an install of node 14, 16 or 18 by using the --node14, --node16 or --node18 parameter.
However doing so may break some nodes that may need re-installing manually.
Generally it is recommended to update all nodes to their latest versions before upgrading.
If you wish to stay on nodejs 12 you can update to the latest Node-RED 1.x or 2.x version by adding
--nodered-version="1.3.7" or --nodered-version="2.2.2" to that install command. If in doubt this is the safer option.
Please backup your installation and flows before upgrading.
Exiting now.
Sorry....
Ok, I'll try what it says.
(I was just posting what happened and didn't think to read what it said)
The message is good, but not clear enough to me.
WHERE do I add the --node16 part?
As the command I enter is/has ( ) in it, does it go inside them or outside as I did the first time?
(Outside as per my first post.)