react-firebase-authentication icon indicating copy to clipboard operation
react-firebase-authentication copied to clipboard

Failed at the [email protected] install script

Open xandstrike31 opened this issue 5 years ago • 2 comments

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. 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:

xandstrike31 avatar Feb 20 '20 08:02 xandstrike31

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.

mmtftr avatar Mar 20 '20 13:03 mmtftr

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

tarkanlar avatar Mar 23 '20 20:03 tarkanlar