I needed to re-install node-red so I completely removed nodejs, npm, and node-red. I then went through the install process again by first installing nodejs (version 10.x), then using npm to install node-red via the command:
sudo npm install -g --unsafe-perm node-red node-red-admin
I then went to run node red with the command: node-red
The error I got was "/usr/local/bin/node-red: No such file or directory".
Can anyone tell me why I'm getting this error? It appears I have node-red in my /usr/bin directory. So why does my installation seem to think it should be looking elsewhere?
Any pointers are appreciated.