the-road-to-react-with-firebase / react-firebase-authentication

🔥 Boilerplate Project for Authentication with Firebase in React.
https://www.robinwieruch.de
1.01k stars 296 forks source link

Failed at the grpc@1.16.0 install script #37

Open xandstrike31 opened 4 years ago

xandstrike31 commented 4 years ago

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! grpc@1.16.0 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.16.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

mmtftr commented 4 years ago

I managed to fix this issue by removing package-lock.json and the dependencies in package.json, then installing the latest versions of each of the dependencies in package.json. Now my dependencies look like:

  "dependencies": {
    "firebase": "^7.12.0",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-router-dom": "^5.1.2",
    "react-scripts": "^3.4.0",
    "recompose": "^0.30.0"
  },

I hope you benefit from this information.

tarkanlar commented 4 years ago

I managed to fix this issue by removing package-lock.json and the dependencies in package.json, then installing the latest versions of each of the dependencies in package.json. Now my dependencies look like:

  "dependencies": {
    "firebase": "^7.12.0",
    "react": "^16.13.1",
    "react-dom": "^16.13.1",
    "react-router-dom": "^5.1.2",
    "react-scripts": "^3.4.0",
    "recompose": "^0.30.0"
  },

I hope you benefit from this information.

I had the same issue and this worked for me