Troubleshooting Node
It doesn't happen often but sometimes your web server will start acting up and you need to solve it using the command line. Here are some common errors I see while using Node or NPM.
Common Error #1
The error looks like this. Error: bind EADDRINUSE null:
Method 1
If you see this, here's how to find the problem.
sudo lsof -i -P | grep 5000
Method 2
ps aux | grep node