14 has been available for some time. It is not likely you would run into problems now. It is easy to go back to 12 again if you needed to.
I“ve a general question about updating the RPi.
apt-get update & dist-upgrade will never update Node RED ?
Node RED with node.js can only be updated by editing /etc/apt/sources.list.d/nodesource.list
or like UnborN wrote ?
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
this will never update node.js ?
I'm not quite sure of that yet. sorry
That will not update node-red if you have used the recommended script to install.
However, it will upgrade nodejs within the top level release number. So if you have nodejs 12.x installed it will upgrade the .x if there is a new release, but will not upgrade to 14.x
The script will also not upgrade the major version of nodejs provided that the installed version is acceptable.
Yes he does
I followed this recently & upgrade nodejs to V14 on a RPI
To be more precise,
- I first uninstalled nodejs 12
sudo apt-get purge nodejs
- Then followed the link above to install nodejs14
- Then re-ran the node-red curl script
Actually if you have 12 then Colins method above Bufferparser with U64 Modbus is probably easiest.
Every day is a school day. Thats my lesson for today
Your way is probably the ācorrectā way as per textbook. But all that other script does is re-create that file with 14.x in it - and then get you to run apt anyway so may as well skip to the answer.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.