Error: listen eadrinuse: address already in use

Listen EADDRINUSE: Address already in use Error: Listen EADDRINUSE: Address already in use Error: listen EADDRINUSE: Address already in use Error.
solution (I use MAC system) : type sudo lsof – I: port number in the console, view the pid of the occupied process, and then type sudo kill -9 pid to kill the process.

Read More: