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 :3042 // to find out the PID number
$ kill -9 PID   // kill the process with its PID
Standard