node:
v8.12.0
firebase-functions:
2.3.1
firebase-tools:
6.10.0
firebase-admin:
8.0.0
When I upgraded firebase-admin and firebase-functions, this is the error I get
npm WARN [email protected] requires a peer of firebase-admin@^7.0.0 but none is installed. You must install peer dependencies yourself.
Yes
I found a few problems with this issue:
Hi @h36ahmed this will be fixed in the next major release of functions SDK. Admin SDK has dropped support for Node 6 in their latest release (8.0.0), and we cannot depend on that without dropping Node 6 support. Please use admin v7 for now.
thank you for replying! Will do.
What's the ETA on the next version of functions SDK? as i was struggling with this exact issue until i found this issue ticket.
Probably worth noting that this will be caused if you follow the instructions at https://firebase.google.com/docs/functions/get-started and run the command "npm install firebase-functions@latest firebase-admin@latest --save" as instructed under heading "2 - Set up Node.js and the Firebase CLI"
@keithnbrown v3 has been released, so the versioning should be compatible now if you do npm install firebase-functions@latest firebase-admin@latest --save.
Most helpful comment
@keithnbrown v3 has been released, so the versioning should be compatible now if you do
npm install firebase-functions@latest firebase-admin@latest --save.