port 3000 is already in use nodemon app crashed

JavaScript
sudo kill -9 $(sudo lsof -t -i:3000)
Source

Also in JavaScript: