There’s no other process containing the keyword “node” in your ps aux
output except from grep node
. You’re trying to kill the process of grep
ing node, and no node process is running, that’s why it fails.
Try with
sudo killall node
Or
sudo kill -9 `ps aux | grep node | grep -v grep | awk '{print $2}'`