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

failed to install null safety version #59

Closed
carlhung opened this issue Mar 19, 2022 · 2 comments
Closed

failed to install null safety version #59

carlhung opened this issue Mar 19, 2022 · 2 comments

Comments

@carlhung
Copy link

i added the null safety in the yaml.
requests: ^4.0.0-nullsafety.0

but I got this error:
Because note depends on requests ^4.0.0-nullsafety.0 which doesn't match any versions, version solving failed.

@sehnryr
Copy link
Collaborator

sehnryr commented Mar 22, 2022

The package is not updated on pub.dev yet.

Alternatively you can include the package via git like so:

dependencies:
  requests:
    git:
      url: https://github.com/jossef/requests
      ref: master

@sehnryr
Copy link
Collaborator

sehnryr commented Mar 23, 2022

requests has been updated to 4.1.0 on pub.dev. You can now update your pubspec.yaml with :

dependencies:
  requests: ^4.1.0

I'm closing the issue since it is resolved.

@sehnryr sehnryr closed this as completed Mar 23, 2022
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

2 participants