I just bought myself a mac book after using Windows for a long time.
I was trying to work on a MeanJS project that I had been working on.
Doing npm install
As @ocean800 stated I updated node. The below solution is for Ubuntu 16.04 that worked for me, but something similar on OSX may fix this issue.
On Ubuntu 16.04, what worked for me was upgrading node
updating nodejs on ubuntu 16.04
I am replicating solution from the above link below
To update, you can install n
sudo npm install -g n
Then just :
sudo n latest
or a specific version
sudo n 8.9.0
Then try and install
sudo npm install