Run it as sudo i.e.
sudo node server.js
I just spent over 10 minutes looking around the internet for this simple solution. Hopefully, this post will save somebody some time 🙂
Check out Disrupted: My Misadventure in the Start-Up Bubble by Dan Lyons a co-producer and writer for the HBO series Silicon Valley (sponsored).
P.S. Let's connect on LinkedIn, Facebook or Twitter. You can also get updates via RSS Feed or the Email Form Bellow.
P.P.S You may also like: