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

dcdg does not work with the new analyzer >=3.0.0 - but it is required for freezed to work. #55

Open
AlexKenbo opened this issue Jun 5, 2022 · 3 comments
Labels
dependency Tickets related to dcdg as a dependency

Comments

@AlexKenbo
Copy link

dcdg does not work with the new analyzer >=3.0.0 - but it is required for freezed to work.
And freezed is a structured package...
Can this be fixed?

Because tortuga depends on freezed ^2.0.2 which depends on analyzer >=3.0.0 <5.0.0, analyzer >=3.0.0 <5.0.0 is required. So, because tortuga depends on analyzer ^2.6.0, version solving failed. pub get failed (1; So, because tortuga depends on analyzer ^2.6.0, version solving failed.) exit code 1

@fredgrott
Copy link

what happens if you specify dependency overrides in pubspec?

@glesica glesica added the dependency Tickets related to dcdg as a dependency label Sep 20, 2022
@gonojuarez
Copy link

not working with override pubspec

@carloswm85
Copy link

More than a year later, I have the same problem when using isar.

[cinemapedia] flutter pub get --no-example
Resolving dependencies...
Because no versions of isar_generator match >3.1.0+1 <4.0.0 and isar_generator 3.1.0+1 depends on analyzer >=4.6.0 <6.0.0, isar_generator ^3.1.0+1 requires analyzer >=4.6.0 <6.0.0.
And because dcdg >=4.0.0 depends on analyzer ^2.6.0, isar_generator ^3.1.0+1 is incompatible with dcdg >=4.0.0.
So, because cinemapedia depends on both dcdg ^4.1.0 and isar_generator ^3.1.0+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
dependency Tickets related to dcdg as a dependency
Projects
None yet
Development

No branches or pull requests

5 participants