Sorry, but I get that it can't find the command "node-red".
I didn't un-install it.
The other machines I did the exact same commands on work.
It is TWO machines that say NR is not installed.
If/when I run the command:
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
It starts to do things then it says/goes.....
This can take 20-30 minutes on the slower Pi versions - please wait.
Stop Node-RED ✔
Remove old version of Node-RED ✔
Remove old version of Node.js -
Update Node.js LTS ✘ Failed to install Node.js - Exit
Looking at log I get/see:
Started : Wed 1 Aug 20:36:40 AEST 2018
Running for user pi at /home/pi
Found global nodes: :
Reading package lists...
Building dependency tree...
Reading state information...
Package 'nodered' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
nodejs is already the newest version (8.11.1~dfsg-2~bpo9+1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Package 'nodered' is not installed, so not removed
Well, it was before I ran the command - well ORIGINALLY it was. Now all it says is it isn't installed.
I did NOT un-install it. Who did? Beats me.
Can you understand that if it was installed and I ran an UPDATE script and subsequently it says it isn't installed, then I am unable to understand what is going on or how to fix it.