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 🙂
Wanna see my pretty face and hear me ramble? Check out my YouTube channel 🙂
P.S. 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.P.S. Let's connect on Twitter, Facebook or LinkedIn. You can also get updates via RSS Feed or the Email Form Bellow.
You may also like: