ERROR:
@grpc/grpc-js only works on Node ^8.13.0 || >=10.10.0
First of All You need to make sure to remove any conflicting versions of npm
sudo apt-get autoremove
second use the following to install latest of npm
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
then
sudo apt-get install -y nodejs
that's for Debian distros, for another OS check this link: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions-enterprise-linux-fedora-and-snap-packages
Alternatively, you can also use
sudo npm install -g npm@latest
or for version 8.13.0 particularly
sudo npm install -g [email protected]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With