+
Skip to content

Cannot pull due to nullsafe issue with pub add #372

@sosensible

Description

@sosensible

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载