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

hive and hive_flutter #1301

Open
Shahzaibrizwan1 opened this issue Aug 9, 2024 · 2 comments
Open

hive and hive_flutter #1301

Shahzaibrizwan1 opened this issue Aug 9, 2024 · 2 comments

Comments

@Shahzaibrizwan1
Copy link

Shahzaibrizwan1 commented Aug 9, 2024

[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
Copy link

Same Isssue

@shinriyo
Copy link

shinriyo commented Sep 5, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants