I have a pi zero running v4.0.8 with nodejs 20 on bookworm, installed using the bash curl script. It has been running with no problems.
I upgraded to 4.0.9 using
sudo npm install -g --unsafe-perm node-red
and when I restart node-red I just get Illegal instruction
.
I will re-install 4.0.8 with npm and see if it recovers.