React-native-firebase: [馃悰] [email protected] has peer dependency [email protected]

Created on 24 Nov 2020  路  5Comments  路  Source: invertase/react-native-firebase


Issue



When I install @react-native-firebase/[email protected], I get a warning stating that it needs @react-native-firebase/[email protected] as a peer dependency. Shouldn't it be @react-native-firebase/[email protected]?

I think this was fixed recently for 10.0.0, but not for 10.0.1

Build Error Bug Fixed

Most helpful comment

The latest publish (v10.1.0) was done fully-automated via our github publish action here, and it appears to have resolved this 100% after all the recent changes. Individual and Aggregate changelogs were generated correctly, version bumps and peerDep cross-dependencies were auto-committed correctly, and published packages to npmjs.com all contain the right bits and deps. 馃挴

All 5 comments

Hi there! Yes indeed

It's a duplicate in a way - was a publishing issue as I bumped everything to 10.0.0 - if you use 10.0.0 it should work great, and I'm sorry for the problem - first reported here https://github.com/invertase/react-native-firebase/discussions/4590

Easier to track here as it is an issue more than a discussion - so I will keep this one open until I release (should be today)

Note that when using v10+ you may ignore the peer dependency of course, all the versions should be v10.0.0 really - that was the intention, and I think with the next release they will all go to 10.1.0

I'm a bit confused about the versions.
npm shows latest as v10.0.1, but changelog goesv10.0.0 -> v10.0.1 -> v10.0.0 馃

@LonelyCpp all firebase packages have been reversioned so that they have the same version (10.0.0). I believe remote-config was at 10.0.1 before the reversioning, which makes it confusing. I think there have been some issues with publishing to npm, but v10.0.0 is in fact the _latest_ version.

The latest publish (v10.1.0) was done fully-automated via our github publish action here, and it appears to have resolved this 100% after all the recent changes. Individual and Aggregate changelogs were generated correctly, version bumps and peerDep cross-dependencies were auto-committed correctly, and published packages to npmjs.com all contain the right bits and deps. 馃挴

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neverlan picture neverlan  路  47Comments

OleksandrKucherenko picture OleksandrKucherenko  路  46Comments

kevinEsherick picture kevinEsherick  路  57Comments

adirzoari picture adirzoari  路  50Comments

bitfabrikken picture bitfabrikken  路  52Comments