npm hmr port is already in use code example Example: npm port already in use $ lsof -i tcp:3000 $ kill -9 PID