Firebase-functions: Update peer dependencies

Created on 12 Jun 2017  路  4Comments  路  Source: firebase/firebase-functions

When I install this package I get the warning

npm WARN [email protected] requires a peer of firebase-admin@~4.2.1 but ...

...but firebase-admin is already at version 5.0.0

Most helpful comment

Hey @piuccio it's actually a strict dependency requirement (that's why there's ~ instead of >), so firebase-admin must be 4.2.x, nothing higher, nothing lower. Make sure you run
npm install --save [email protected]
in your functions directory.

All 4 comments

Hey @piuccio it's actually a strict dependency requirement (that's why there's ~ instead of >), so firebase-admin must be 4.2.x, nothing higher, nothing lower. Make sure you run
npm install --save [email protected]
in your functions directory.

I guess my point was that it's probably time for this package to update to firebase-admin 5. Any plans for that update?

Gotcha, thanks for the clarification. Will add this to my to-do list. The reason why we don't update our dependencies automatically every time there's a new version of firebase-admin is because there can be breaking changes so we want to test extensively before upgrading.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

m4recek picture m4recek  路  33Comments

NikoMontana picture NikoMontana  路  23Comments

malikasinger1 picture malikasinger1  路  50Comments

peterpeterparker picture peterpeterparker  路  53Comments

Bob-Snyder picture Bob-Snyder  路  25Comments