score:7
i will recommend that instead of installing node
latest version (which might not be well supported by all libraries) try to use the v8.11
stable version.
then there are couple of actions/trick to handle this thing:
- you might be using
windows 10
, so try to disable your antivirus and then try again. if onlinux
try to use commandsudo
in start. - check this as well: unable to install firebase tools cli using windows 10
- and this: error with npm install - a pre-gyp error
additional information
in reference to learning firebase
these might help you as well:
https://www.codementor.io/yurio/all-you-need-is-react-firebase-4v7g9p4kf
score:0
i don't know if this is relevant, but i was also getting similar errors. i was trying to do install the firebase using expo (as recommended in the docs)
expo install firebase
and this was failing for me. i noticed that the issue was related to my package-lock.json where node-pre-gyp
was getting added. wasted some time, but finally the issue was resolved when i did a npm install (and not expo install)
hope this helps people in the future.
npm install firebase --save
score:1
i needed to downgrade node from 10.12 to 8.11
node -v
v10.12.0
npm install -g n
n 8.11.1
mode -v
v8.11.1
Source: stackoverflow.com
Related Query
- Grpc error while installing Firebase for React
- I am getting error while installing material ui in cmd for react .I am using this command npm i @material-ui/icons and getting following errors ::
- Facing error while installing firebase via npm | Unexpected end of JSON input while parsing near
- Getting Error after installing react native firebase storage
- node / react after installing .env module, error for "fs"
- React Material-ui library Error Received `true` for a non-boolean attribute `active`. while using Stepper component
- Why am I getting error "No valid versions available for undefined" while installing create-react-app
- INTERNAL ASSERTION FAILED - firebase error in React JS while adding document to the collection
- React Proptypes gives error while generating Proptypes for a component
- getting error while using .env file for firebase auth in eact js
- Error with firebase auth upon sign-up for react app
- react redux firebase error while importing firebase, not able to import firebase. how to solve it?
- Error while installing React - "Cannot find module 'block-stream'
- I'm getting an error in React while connecting it to the firebase "Could not find module in path: 'firebase' relative to '/src/firebase-config.js'"
- Error while creating new React app ("You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0)")
- I'm getting error like this while creating react app
- React Testing Library gives console error for ReactDOM.render in React 18
- Why I got Error while Creating React App?
- CORS error while consuming calling REST API with React
- Azure App Service Getting error while deploying REACT JS application
- Error while running react application
- Error while deploying react based SSR app, using firebase-functions
- Firebase initial error with React Native (Cannot read property 'getItem' of undefined)
- React Syntax Error : Expected corresponding JSX closing tag for <img>
- Symlinking react modules with npm link for local development gives error
- How to Fix Heroku Application Error For a Successfully Deployed React App
- Keep getting error while creating react app
- Getting error "Path" argument must be string while deploying React - Loadable components sample code in cloud functions
- Visual Studio code error while saving react files?
- How to hide console status error message while fetching in React js?
More Query from same tag
- How to Map and Filter in Reactjs
- Adding animations on Conditional Rendered Component
- Promise.all in Redux action and update state
- Material UI Autocomplete
- Children with params reload page in react router
- Update component styles dynamically from state on initial load?
- ShallowWrapper is empty when running test
- Handling Combinations of Props in Styled Components
- How to get user informations from Firebase after page reloaded in Nuxt js project?
- In React Native how do you change navigation options on state change?
- ReactJs - Call Second Function Parameters
- React - activating a function onClick throws a 'Cannot read property' error
- CSS module @import fails the Jest test suit
- react-router can't jump to the page
- How to render a loading component with the useEffect hook?
- OpenID Connect + Django DRF + React: How to use?
- React Mathjax2 does not work on React version 17
- How to dynamically display a number of input fields based on a number given on a previous field on that page in react
- Value inside dropdown doesn't seem to change with onChange handler - MUI Select using React
- Using Fetch in react, need username password to access database
- How to make Material-UI CardActions always stick to the bottom of parent
- Gatsby & contentful site incorrect files path in public build
- Extract array of element from rendered component in React
- Filter Array by Multiple Criteria
- Destructuring this.props into Component
- create-react-app installs with reported NPM vulnerabilities, should I do something?
- copy object using map in Reactjs
- React Hooks Remove item from array
- Check string for array elements and systematically replace them with HTML tags - (JS, ReactJS)
- React, Invalid value for prop `component` in Link