I have an Intel NUC that' has been running Debian 10 reliably for several years, I use it as a general purpose Linux IOT server. I used @scargill "The Script" to install all the IOT programs. I consider myself moderately handy with Linux but have exhausted my skillset on this one.
Recently I decided to upgrade to Node-RED 2.06 and that's where things went South on me, As usual I've backed up my system. Backed up flows to Github. Then ran the Running on Raspberry Pi, Installing and Upgrading Node-RED and received the error show below.
I tried my best to force install a later version of node out of frustration but that led to further frustration.
With that I'm submitting this request for help and would appreciate whatever you can offer.
First some versions:
pi@mynuc:~/.node-red $ uname -a
Linux mynuc 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
pi@mynuc:~/.node-red $ node -v
pi@mynuc:~/.node-red $ npm -v
pi@mynuc:~/.node-red $ nvm -v
pi@mynuc:~/.node-red $ bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --node16
Output from above command:
This can take 20-30 minutes on the slower Pi versions - please wait.
Remove old version of Node-RED
Remove old version of Node.js v10.24.0
Install Node.js 16 LTS ✘ Bad install: Node.js v10.24.0 Npm missing - Exit
Clean npm cache
Install Node-RED core
Move global nodes to local
Npm rebuild existing nodes
Install extra Pi nodes
Add shortcut commands
Update systemd script
Any errors will be logged to /var/log/nodered-install.log
nodered-install.log (22.9 KB)