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

Dependency conflict with intl v0.16.0 #17

Open
mattf80 opened this issue Nov 5, 2019 · 5 comments
Open

Dependency conflict with intl v0.16.0 #17

mattf80 opened this issue Nov 5, 2019 · 5 comments

Comments

@mattf80
Copy link

mattf80 commented Nov 5, 2019

Describe the bug
Upon installing flutter money formatter, I'm receiving a dependency conflict with the intl package. Here is the error message:

Because flutter_money_formatter >=0.8.2 depends on intl ^0.15.8 and <project_name> depends on intl ^0.16.0, flutter_money_formatter >=0.8.2 is forbidden.

I have tried downgrading my version of intl, but then I get other dependency errors from packages in my project which depend on it.

To Reproduce
Steps to reproduce the behavior:

  1. Install intl v0.16.0
  2. Attempt to install flutter_money_formatter v0.8.3
  3. See error described above

Expected behavior
Ideally the package would install with intl v0.16.0 already installed.

Hopefully it's not me doing something wrong, if not would it be possible to update your package to work with the latest version of intl? Thank you.

@mattf80 mattf80 changed the title Dependency conflict Dependency conflict with intl v0.10.0 Nov 5, 2019
@mattf80 mattf80 changed the title Dependency conflict with intl v0.10.0 Dependency conflict with intl v0.16.0 Nov 5, 2019
@willtsan
Copy link

willtsan commented Nov 5, 2019

I also confirm this, had to keep intl on 0.15.8

@marcosnataqs
Copy link

I also having the same problem.

[project_name] flutter packages get
Running "flutter pub get" in project_name...
Because flutter_money_formatter >=0.8.2 depends on intl ^0.15.8 and every version of flutter_localizations from sdk depends on intl 0.16.0, flutter_money_formatter >=0.8.2 is incompatible with flutter_localizations from sdk.

So, because project_name depends on both flutter_localizations any from sdk and flutter_money_formatter ^0.8.3, version solving failed.
pub get failed (1; So, because project_name depends on both flutter_localizations any from sdk and flutter_money_formatter ^0.8.3, version solving failed.)
exit code 1

@guilhermefilippo
Copy link

Same problem here.

@rohitattaluri
Copy link

I also having the same problem.

[project_name] flutter packages get
Running "flutter pub get" in project_name...
Because flutter_money_formatter >=0.8.2 depends on intl ^0.15.8 and every version of flutter_localizations from sdk depends on intl 0.16.0, flutter_money_formatter >=0.8.2 is incompatible with flutter_localizations from sdk.

So, because project_name depends on both flutter_localizations any from sdk and flutter_money_formatter ^0.8.3, version solving failed.
pub get failed (1; So, because project_name depends on both flutter_localizations any from sdk and flutter_money_formatter ^0.8.3, version solving failed.)
exit code 1

Even now I face the same error, any resolution for this issue?

@ArjunR467
Copy link

I fixed with this dependency_overrides

dependency_overrides:
intl: ^0.16.0

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

6 participants