0👍
✅
To install firebase properly, you have to change the version:
npm remove firebase
npm add firebase@^8.10.0
0👍
Welcome, what command are you running to install Firebase? The error says to use npm install --save firebase
, are you using that command? Try the commandnpm install Firebase
to try install Firebase. Are you using "Cloud Shell" to deploy your code?
I used the following documentation to learn about the basics of Firebase [1}
[1} https://firebase.google.com/docs/web/setup
and this lab is also very useful [2]
Source:stackexchange.com