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

Cannot pull due to nullsafe issue with pub add #372

Open
sosensible opened this issue Jun 13, 2023 · 1 comment
Open

Cannot pull due to nullsafe issue with pub add #372

sosensible opened this issue Jun 13, 2023 · 1 comment

Comments

@sosensible
Copy link

flutter pub add github

The current Dart SDK version is 3.0.3.

Because github >=7.1.0-nullsafe.0 depends on http ^0.13.0 and github <7.1.0-nullsafe.0 doesn't support null safety, every version of github requires http ^0.13.0.
So, because github_client depends on both http ^1.0.0 and github any, version solving failed.

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

@github-actions
Copy link

👋 Thanks for reporting! @robrbecker will take a look.

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

No branches or pull requests

1 participant