-1👍
Once kill everything and start again below the code.
ps aux | grep node
sudo kill -9
Also,
sudo lsof -i:<PORT_NO>
close the instance for present time but unable to stop the process in background. So for one time,
sudo kill <PID>
works, but again when we update our code and save, this problem occurs again as with Nodemon.
So exit the terminal will solve the problem. OR
killall -9 node
Source:stackexchange.com