Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating dependencies #12

Open
andrevmann opened this issue Mar 5, 2021 · 3 comments
Open

Updating dependencies #12

andrevmann opened this issue Mar 5, 2021 · 3 comments

Comments

@andrevmann
Copy link

Hi,

thank you for your excellent starter template.
Unfortunately, I have problems resolving the dependencies or updating the packages. Especially with the Firebase packages, there are now many improvements. Can you provide an updated version?

Because firebase_auth >=0.18.4 <=0.18.4 depends on firebase_auth_web ^0.3.2+2 and firebase_auth ^0.18.4+1 depends on firebase_auth_web ^0.3.2+3, firebase_auth ^0.18.4 requires firebase_auth_web ^0.3.2+2. And because no versions of firebase_auth match >0.18.3+1 <0.18.4 and firebase_auth 0.18.3+1 depends on firebase_auth_web ^0.3.2+1, firebase_auth ^0.18.3+1 requires firebase_auth_web ^0.3.2+1. And because firebase_auth_web >=0.3.0-dev.1 <0.4.0-1.0.nullsafety.0 depends on intl ^0.16.1 and every version of flutter_localizations from sdk depends on intl 0.17.0, firebase_auth ^0.18.3+1 is incompatible with flutter_localizations from sdk. So, because firebasestarter depends on both flutter_localizations any from sdk and firebase_auth ^0.18.3+1, version solving failed. pub get failed (1; So, because firebasestarter depends on both flutter_localizations any from sdk and firebase_auth ^0.18.3+1, version solving failed.) Process finished with exit code 1

Easy upgrading to all current or dev versions of all packages is not successful.

Best regards

@lbarqueira
Copy link

The same thing happened to me.

Running "flutter pub get" in starter_architecture_flutter_firebase_riverpod...
Because firebase_helpers >=0.2.3 depends on cloud_firestore ^0.16.0 and starter_architecture_flutter_firebase depends on cloud_firestore ^1.0.0, firebase_helpers >=0.2.3 is forbidden.

@tva77
Copy link

tva77 commented Mar 25, 2021

/Users/tva/development/flutter/bin/flutter --no-color pub get
Running "flutter pub get" in flutter_firebase_starter...

Because firebase_auth >=0.18.4 <=0.18.4 depends on firebase_auth_web ^0.3.2+2 and firebase_auth ^0.18.4+1 depends on firebase_auth_web ^0.3.2+3, firebase_auth ^0.18.4 requires firebase_auth_web ^0.3.2+2.
And because no versions of firebase_auth match >0.18.3+1 <0.18.4 and firebase_auth 0.18.3+1 depends on firebase_auth_web ^0.3.2+1, firebase_auth ^0.18.3+1 requires firebase_auth_web ^0.3.2+1.
And because firebase_auth_web >=0.3.0-dev.1 <0.4.0-1.0.nullsafety.0 depends on intl ^0.16.1 and every version of flutter_localizations from sdk depends on intl 0.17.0, firebase_auth ^0.18.3+1 is incompatible with flutter_localizations from sdk.
So, because firebasestarter depends on both flutter_localizations any from sdk and firebase_auth ^0.18.3+1, version solving failed.
pub get failed (1; So, because firebasestarter depends on both flutter_localizations any from sdk and firebase_auth ^0.18.3+1, version solving failed.)

@sultanmyrza
Copy link

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.4, on Mac OS X 10.15.7 19H2 darwin-x64, locale en)
    • Flutter version 2.0.4 at /Users/sultanmyrza/flutter
    • Framework revision b1395592de (3 weeks ago), 2021-04-01 14:25:01 -0700
    • Engine revision 2dce47073a
    • Dart version 2.12.2

getting same error

[flutter_firebase_starter-feature-riverpod] flutter pub get
Running "flutter pub get" in flutter_firebase_starter-feature-riverpod...     
Because firebase_auth >=0.18.4 <=0.18.4 depends on firebase_auth_web ^0.3.2+2 and firebase_auth ^0.18.4+1 depends on firebase_auth_web ^0.3.2+3, firebase_auth ^0.18.4 requires firebase_auth_web ^0.3.2+2.

And because no versions of firebase_auth match >0.18.3+1 <0.18.4 and firebase_auth 0.18.3+1 depends on firebase_auth_web ^0.3.2+1, firebase_auth ^0.18.3+1 requires firebase_auth_web ^0.3.2+1.

And because firebase_auth_web >=0.3.0-dev.1 <0.4.0-1.0.nullsafety.0 depends on intl ^0.16.1 and every version of flutter_localizations from sdk depends on intl 0.17.0, firebase_auth ^0.18.3+1 is incompatible with flutter_localizations from sdk.

So, because firebasestarter depends on both flutter_localizations any from sdk and firebase_auth ^0.18.3+1, version solving failed.
pub get failed (1; So, because firebasestarter depends on both flutter_localizations any from sdk and firebase_auth ^0.18.3+1, version solving failed.)
exit code 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants