Hi, I am trying to install Node-Red to my Raspberry Pi Zero W in what would be a no events simple instalation but that somehow is not working.
I did this same install a couple of weeks ago with no incidents.
So I prepared the memory card with a headless PI os using the PI imager.
Updated and upgraded.
Initiated the installation using the the script at Running on Raspberry Pi : Node-RED
And after the installation finishes, before it ask configuration questions I get the following message:
/dev/fd/63: line 814: 32530 Illegal instruction $SUDOU /usr/bin/node-red admin init
chown: cannot access '/home/pi/.node-red/settings.js': No such file or directory
pi@PiZero:~ $ ls /home/pi/.node-red/
node_modules package.json
I had some trouble on that Raspberry Pi 1B, when it was running Raspberry Pi OS Buster, due to a wrong version of GLIBC. That caused, that I could not install NodeJS Version 20 and had to install Version 18.
Now, after an OS upgrade to Bookworm AND the modified install script, everything installed fine.