Hi Thanks for the replying
root@debian:~# node -v
v18.19.0
root@debian:~# npm -v
9.2.0
Ive never used the debian/pi install script before?
It seems npm installs everything without any errors
Im really at a loss... ive put node-red on proxmox before without issues, however this is on a AMD turion on a HP N54L which I wouldnt of thought would make a difference.
but you are running node-red from the etc directory, that is not really the way to do this, as it reads/writes various files when starting in the .node-red dir, which should live in a user dir, ie. node-red is a global module that can be instantiated.
doesn't node-red use the home directory of the user to create the .node-red directory? I.e. ~/.node-dir is created/used regardless of the directory the user starts node-red.
Sounds like an architecture issue - are you running it as a lxc or vm ? possibly it needs certain architecture flags enabled in the proxmox vm settings (if using vm).
"Illegal instruction" is usually more down to some hardware/os/architecture mismatch eg running intel code on an arm processor, or 64bit code on 32 bit architecture, or incompatible libc libraries eg debian vs alpine etc
This is inside the guest vm ?... If so that looks ok - so I've no idea where that Android reference came from... but that is the issue.. need to totally remove nodejs and npm and somehow get the correct (x86_64) ones installed... (which the install script should do)
On the face of it, something is wrong either with your installation of Node.js or Node-red or else at a lower level of the OS.
And it seems that you have installed it without using the "official" script, as the user root and from the directory /etc.
I think it's unlikely anyone else will be able to diagnose the precise issue.
Is it practical to start again with a clean OS?
Try using the install script, from the home directory of a non-privileged user account (though they should be able to use sudo).
I don't know if this is possible with Proxmox.