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
Happened to me on node 13.7.0
and npm 6.13.6
(macOS Mojave).
I had the following as part of my errors:
found X vulnerabilities (Y moderate, Z high)
run `npm audit fix` to fix them, or `npm audit` for details
And running the following fixed the problem:
$ npm audit fix
$ npm install
I recently had this error on a fresh OSX install of Node using homebrew.
Brew installed the latest at the time 13.8.0
.
I downgraded the last "stable" release of node.
sudo npm install -g n ## Installs Node Version Switcher
sudo n stable ## To switch to latest stable version
Then the rest of my npm installs finished and passed the dreaded gprc errors!
i also face same problem.i found solution for that.
bcrypt required C++, python and node-pre-gyp.
sudo apt-get install g++
sudo apt-get install -y build-essential python
npm install node-pre-gyp
for more details check : https://github.com/kelektiv/node.bcrypt.js/wiki/Installation-Instructions#ubuntu-and-derivatives---elementary-linux-mint-etc
I was gone through same problem solved after lot efforts. It is because of npm version is not compatible with gprc version. So we need to update the npm.
npm update
npm install