-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I'm having the following issue when trying to use the latest version of dart_pubspec_licenses in conjunction with hive_ce_generator:
Because no versions of hive_ce_generator match >1.9.5 <2.0.0 and hive_ce_generator 1.9.5 depends on analyzer ^8.0.0, hive_ce_generator ^1.9.5 requires analyzer ^8.0.0.
And because pana >=0.22.18 <0.22.22 depends on analyzer >=6.11.0 <8.0.0, hive_ce_generator ^1.9.5 is incompatible with pana >=0.22.18 <0.22.22.
And because dart_pubspec_licenses >=3.0.13 depends on pana ^0.22.21 and pana >=0.22.22 depends on meta ^1.17.0, if hive_ce_generator ^1.9.5 and dart_pubspec_licenses >=3.0.13 then meta ^1.17.0.
And because minigames depends on flutter_test from sdk which depends on meta 1.16.0, hive_ce_generator ^1.9.5 is incompatible with dart_pubspec_licenses >=3.0.13.
So, because minigames depends on both hive_ce_generator ^1.9.5 and dart_pubspec_licenses ^3.0.14, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on dart_pubspec_licenses: flutter pub add dev:dart_pubspec_licenses:^3.0.12
Failed to update packages.
My pubspec dev dependecies section:
dev_dependencies:
sentry_dart_plugin: ^3.1.1
flutter_test:
sdk: flutter
flutter_launcher_icons: ^0.14.4
flutter_native_splash: ^2.4.6
build_runner: ^2.9.0
hive_ce_generator: ^1.9.5
dart_pubspec_licenses: ^3.0.14
Metadata
Metadata
Assignees
Labels
No labels