I was trying to follow the react in action book. - book's project repo
But on doing npm install
on Ubuntu, I am getting
npm ERR! errno 1
npm ERR! grpc@1.7.3 install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the grpc@1.7.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`
I have also tried to update my node and npm version and then npm install but it's still not working . Help me to fix this irritating error .
Edit:
I have tried to fix this using almost 10 answers from SO as well as github but none of them works and also some of the answer is for windows or mac and not for ubuntu. I have tried the answers to these questions too.