dcdg.dart icon indicating copy to clipboard operation
dcdg.dart copied to clipboard

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

Open AlexKenbo opened this issue 2 years ago • 3 comments

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

AlexKenbo avatar Jun 05 '22 16:06 AlexKenbo

what happens if you specify dependency overrides in pubspec?

fredgrott avatar Aug 20 '22 23:08 fredgrott

not working with override pubspec

gonojuarez avatar Oct 24 '22 12:10 gonojuarez

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

carloswm85 avatar Sep 06 '23 13:09 carloswm85