npm run hot address already in use

Have you ever got the following error when running laravel mix using `npm run hot`?

To fix it, open your terminal and run the following command:

sudo lsof -i :8080

This will list processes using that `8080` port. Next up, you just have to kill that process using:

kill -9 PROCESS_ID

Next up, just re-run npm run hot and it should work.

Leave a Comment

Your email address will not be published.