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

DartX incompatibility #24

Closed
mehmet-hakan-yazkan opened this issue Jul 5, 2020 · 2 comments
Closed

DartX incompatibility #24

mehmet-hakan-yazkan opened this issue Jul 5, 2020 · 2 comments
Assignees
Labels
T: Fix Type: :bug: Bug Fixes

Comments

@mehmet-hakan-yazkan
Copy link

mehmet-hakan-yazkan commented Jul 5, 2020

Hi,

I'm getting this error with this package:

[src] flutter pub get
Running "flutter pub get" in src...                             
Because every version of flutter from sdk depends on characters 1.0.0 and dartx >=0.2.0 <0.4.0 depends on characters ^0.3.0, flutter from sdk is incompatible with dartx >=0.2.0 <0.4.0.

And because timetable >=0.1.2 depends on dartx ^0.3.0, flutter from sdk is incompatible with timetable >=0.1.2.

So, because Afalina depends on both flutter any from sdk and timetable ^0.2.4, version solving failed.
pub get failed (1; So, because Afalina depends on both flutter any from sdk and timetable ^0.2.4, version solving failed.)
exit code 1

Environment:

[√] Flutter (Channel master, 1.20.0-3.0.pre.126, on Microsoft Windows [Version 10.0.18363.900], locale de-DE)
    • Flutter version 1.20.0-3.0.pre.126 at D:\flutter
    • Framework revision 462b0ea76e (3 days ago), 2020-07-02 16:13:02 -0400
    • Engine revision 51ca1432b3
    • Dart version 2.9.0 (build 2.9.0-20.0.dev 8afe9875a6)

dependencies:
...
time_machine: ^0.9.12
timetable: ^0.2.4

Workaround
dependency_overrides:
dartx: ^0.4.2

@mehmet-hakan-yazkan mehmet-hakan-yazkan added the T: Fix Type: :bug: Bug Fixes label Jul 5, 2020
@JulianKowalczuk
Copy link

solved that also with
dependency_overrides:
path: ^1.7.0

@JonasWanke JonasWanke self-assigned this Jul 6, 2020
@JonasWanke
Copy link
Owner

Thanks for sharing a workaround! dartx is now updated to ^0.4.0 in timetable v0.2.5, so this problem should be solved. Feel free to reopen if you still encounter dependency resolution problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T: Fix Type: :bug: Bug Fixes
Projects
None yet
Development

No branches or pull requests

3 participants