isar / hive

Lightweight and blazing fast key-value database written in pure Dart.
Apache License 2.0
4.11k stars 409 forks source link

hive and hive_flutter #1301

Open Shahzaibrizwan1 opened 3 months ago

Shahzaibrizwan1 commented 3 months ago

[hive] flutter pub add hive Because hive depends on hive, version solving failed. exit code 65

--

[hive] flutter pub add hive_flutter The current Dart SDK version is 3.5.0.

Because hive_flutter >=1.0.0-nullsafety.0 <1.0.0 depends on hive ^1.6.0-nullsafety.0 and hive_flutter >=2.0.0-dev depends on hive ^3.0.0-dev, hive_flutter >=1.0.0-nullsafety.0 <1.0.0 or >=2.0.0-dev requires hive ^1.6.0-nullsafety.0 or ^3.0.0-dev. And because hive_flutter <1.0.0-nullsafety.0 doesn't support null safety, hive_flutter <1.0.0-∞ or >=2.0.0-dev requires hive ^1.6.0-nullsafety.0 or ^3.0.0-dev. And because hive_flutter >=1.0.0 <1.1.0 depends on hive ^2.0.0 and hive_flutter >=1.1.0 <2.0.0-dev depends on hive ^2.0.4, every version of hive_flutter requires hive ^1.6.0-nullsafety.0 or >=2.0.0 <3.0.0 or ^3.0.0-dev. So, because hive depends on hive_flutter any and hive is 1.0.0+1, version solving failed.

The lower bound of "sdk: '>=2.2.2 <3.0.0'" must be 2.12.0 or higher to enable null safety. For details, see https://dart.dev/null-safety exit code 65

Achuabhijith2003 commented 2 months ago

Same Isssue

shinriyo commented 2 months ago

Isar Database https://docs.hivedb.dev/#/