-
Notifications
You must be signed in to change notification settings - Fork 40
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
0.18.0, Version solving failed #458
Comments
Thanks for posting this; the |
I have a similar issue when I tried to upgrade it to the version
My config:
|
* Rev intl version See https://github.com/dart-lang/intl/issues/522. * chore(firebase_auth):Rev intl version See https://github.com/dart-lang/intl/issues/522.
There seem to be some issues on the flutter side, see flutter/flutter#117163. |
This seems to be fixed now! |
No, it is still. |
Are you sure? |
I still have this issue using I'm stuck on
Environment:
|
Yes, this is the error
|
Maybe this is a Flutter SDK versioning thing? I am not expert on Flutter, but would expect some delay between the error being fixed on GitHub and being rolled out. @thkim1011 |
Does version |
Also for anyone having issues with dependency resolution, if version dependency_overrides:
intl: ^0.18.0 |
@Rexios80: There were some minor changes to the API. The switch to Sorry for the bugs caused by this. We/I will try to avoid this in the future. |
Hi, we cannot upgrade to the latest version of |
Hi, this is fixed in Flutter HEAD, which is why the Flutter issue is closed. This one is still open for now. |
Thanks @Rexios80 for this temporary workaround! |
What is Flutter HEAD? Is that Flutter SDK? There have been a few releases and this is still not resolved. I know it is unpopular asking for ETA, but do we know approximately when is this going to be resolved? I am not sure if I can apply an override, not sure what the implications of doing that are. |
The same thing as flutter channel master
Probably the next major Flutter release at the latest
The implications are your code will fail to build if any changes in |
This is resolved in flutter 3.10.0, Yay, I can remove the override! Although, now is complaining about version 0.18.1 :-)
|
Any updates regarding this issue because i don't have intl package in pubspec.yaml |
Flutter depends on exact versions of packages. It looks like you have |
I have similar issue too. |
Experiencing the same |
dependency_overrides:
intl: ^0.18.0 |
Hi - the new stable version of flutter - If you have a constraint on package:intl in your pubspec, and you're using this version of flutter, that constraint should allow the 0.18.0 version of intl; something like If you're using a package that itself uses intl, that package needs to make sure that it allows the 0.18.0 version of intl. Please ping their issue tracker if that package does not yet support the necessary intl version. If the package is unresponsive, or you can't otherwise solve the version constraint issue, you can try a dependency override. Note that you'll be selecting a version of intl that some package(s) in your package graph may not reliably work with.
|
@Rexios80 this doesn't work because we use flutter_form_builder which depends on intl ^0.17.0 and other packages that depend on this main one. The override causes a different issue. Hoping that the recent Flutter (stable) update fixes this. |
Where does one put this piece of code? I added it to the pubspec.yaml file but I get an error
Please assist me. |
Hi @profkaygee , see the example at https://dart.dev/tools/pub/dependencies#dependency-overrides:
|
Resolving dependencies... (27.2s) |
Because no versions of easy_localization match >3.0.2 <4.0.0 and easy_localization 3.0.2 depends on flutter_localizations from sdk, easy_localization ^3.0.2 requires flutter_localizations from sdk. |
@ahmedNagar123 Try depending on |
Thanks, it worked to me |
Describe the bug
When upgrading to 0.18.0, I get the following error:
To Reproduce
intl
to 0.18.0.flutter pub get
System info
Can not, because
flutter pub get
failed.Versions
The text was updated successfully, but these errors were encountered: