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

[Bug]: [beboro] flutter pub get --no-example Resolving dependencies... Because every version of get from git depends on web >=0.4.0 <0.6.0 and geolocator_web >=4.0.1 depends on web ^1.0.0, get from git is incompatible with geolocator_web >=4.0.1. And because geolocator >=13.0.1 depends on geolocator_web ^4.1.1, get from git is incompatible with geolocator >=13.0.1. So, because beboro depends on both geolocator ^13.0.1 and get from git, version solving failed. #1592

Closed
5 of 8 tasks
fisforfaheem opened this issue Oct 17, 2024 · 2 comments

Comments

@fisforfaheem
Copy link

Please check the following before submitting a new issue.

Please select affected platform(s)

  • Android
  • iOS
  • Linux
  • macOS
  • Web
  • Windows

Steps to reproduce

[beboro] flutter pub get --no-example
Resolving dependencies...
Because every version of get from git depends on web >=0.4.0 <0.6.0 and geolocator_web >=4.0.1 depends on web ^1.0.0, get from git is incompatible with geolocator_web >=4.0.1.
And because geolocator >=13.0.1 depends on geolocator_web ^4.1.1, get from git is incompatible with geolocator >=13.0.1.
So, because beboro depends on both geolocator ^13.0.1 and get from git, version solving failed.

Expected results

[beboro] flutter pub get --no-example
Resolving dependencies...
Because every version of get from git depends on web >=0.4.0 <0.6.0 and geolocator_web >=4.0.1 depends on web ^1.0.0, get from git is incompatible with geolocator_web >=4.0.1.
And because geolocator >=13.0.1 depends on geolocator_web ^4.1.1, get from git is incompatible with geolocator >=13.0.1.
So, because beboro depends on both geolocator ^13.0.1 and get from git, version solving failed.

Actual results

[beboro] flutter pub get --no-example
Resolving dependencies...
Because every version of get from git depends on web >=0.4.0 <0.6.0 and geolocator_web >=4.0.1 depends on web ^1.0.0, get from git is incompatible with geolocator_web >=4.0.1.
And because geolocator >=13.0.1 depends on geolocator_web ^4.1.1, get from git is incompatible with geolocator >=13.0.1.
So, because beboro depends on both geolocator ^13.0.1 and get from git, version solving failed.

Code sample

Code sample
[Paste your code here]

Screenshots or video

Screenshots or video demonstration

[Upload media here]

Version

latest

Flutter Doctor output

[beboro] flutter pub get --no-example
Resolving dependencies...
Because every version of get from git depends on web >=0.4.0 <0.6.0 and geolocator_web >=4.0.1 depends on web ^1.0.0, get from git is incompatible with geolocator_web >=4.0.1.
And because geolocator >=13.0.1 depends on geolocator_web ^4.1.1, get from git is incompatible with geolocator >=13.0.1.
So, because beboro depends on both geolocator ^13.0.1 and get from git, version solving failed.

@mvanbeusekom
Copy link
Member

The problem here is with the get plugin which depends on an outdated version of the web package.

Unfortunately there is not much I can do to help, maybe ask the maintainers of get to update their plugin dependencies. Version 1.0.0 of web is the current standard and we will not deviate from it.

@mvanbeusekom mvanbeusekom closed this as not planned Won't fix, can't repro, duplicate, stale Oct 17, 2024
@fisforfaheem
Copy link
Author

get people say this is a community project etc so they will upgrade only when they need to :(

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