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
This seems issue with my node upgrade. How ever I solved it with the following approach.
First uninstall the cli, clear cashe, and reinstall with these commands
npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/cli
Then install node-pre-gyp
npm install -g node-pre-gyp
Restart your terminal and see if the issue is solved.