I have installed firebase version 8.6.5 using npm install firebase . but wish to downgrade the firebase to the version 7.16.1 due to some code compatibility. Any help would be highly appreciated.
I have installed firebase version 8.6.5 using npm install firebase . but wish to downgrade the firebase to the version 7.16.1 due to some code compatibility. Any help would be highly appreciated.
Just run:
npm i -S firebase@^7.16.1
This is the local Firebase package you use in your project and we use -S to make sure we save it in our package.json. It is recommended to save all packages you use in your project. i -S is just a shortcut for install --save.
For your Firebase Tools you use in the console it would be npm i -g firebase-tools@version-number