How to solve the problem when ‘npm start’ doesn’t work

less than 1 minute read

1. problem
$ npm start
Fatal error: Port 9100 is already in use by another process.

.....


2. solution

kill that process

$ sudo lsof -i :9100
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
grunt   3012 .....................................


$ kill -9 3012


done!!

Categories:

Updated: