OS X, Tools

NPM: ERRORINUSE

For error:

Error: listen EADDRINUSE :::3042

We just need to kill whatever that’s on the port. Probably the last exit wasn’t clean. Do:

$ lsof -i :3000 // to find out the PID number
$ kill -9       // kill the process with its PID
Standard