I am trying to do npm install
for an angular project and this is the issue I am facing
> [email protected] install D:\professional-workspace\Gentrick\Risco\risco-web\node_modules\grpc
> node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.20.0/node-v72-win32-x64-unknown.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, unknown) (falling back to source compile with node-gyp)
then
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
Environment:-
windows: 10 64x
node: 12.16.1
angular CLI: 7.3.9
angular: 6.1.10
I have tried installing python as well but that didnt help either.
That version of grpc is not compatible with that version of Node. You can fix that by using a newer version of grpc or an older version of Node. The newest version of grpc at this time, 1.24.2, is compatible with Node 12.x.
Its not supported in the latest version of node, gyp is supported in 11.x version. I was facing same issue. I installed version node-v11.15.0 and it build successfully. Revert current version of node, download from here node-v11.15.0
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