I am trying to install the latest version of Node-Red using the Raspberry Pi instructions using the command:
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
I get a bad install on the Node.js 20 update.
Stop Node-RED ✔
Remove old version of Node-RED ✔
Using N to manage Node.js +
Update Node.js 20 ✘ Bad install: Node.js missing Npm missing - Exit cache
What could I try to resolve this?
The log shows this:
Started : Tue 07 Jan 2025 12:04:26 PM EST
Running for user pi at /home/pi
Found global nodes: :
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
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.
Using n
copying : node/20.18.1
node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
/usr/local/bin/node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/local/bin/node)
installed : (with npm )
Versions: node:missing npm:missing
EDIT: I am running the Buster OS on the Raspberry Pi and came across something suiggesting this is the issue. Can anyone confirm this or suggest an upgrade path?