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

package requires google font 1.0.0 #2

Open
beautybird opened this issue Jul 8, 2021 · 3 comments
Open

package requires google font 1.0.0 #2

beautybird opened this issue Jul 8, 2021 · 3 comments

Comments

@beautybird
Copy link

Hi,
Before flutter 2 I used your package and was working well.
now with Flutter 2 I have following error:

              Because every version of sk_alert_dialog depends on google_fonts ^1.1.0 which depends on http ^0.12.0+2, every 
             version of sk_alert_dialog requires http ^0.12.0+2.

when I add google_font 1.1.0 :

             Because google_fonts <2.0.0-nullsafety.0 depends on http ^0.12.0+2 and tasneem_app depends on http ^0.13.3, 
             google_fonts <2.0.0-nullsafety.0 is forbidden.

google_map_places requires http 0.13.1 at least ..I need the google places .
If I upgrade google_map 2.1.0 m I get this error :

         Because every version of sk_alert_dialog depends on google_fonts ^1.1.0 and tasneem_app depends on google_fonts 
         ^2.1.0, sk_alert_dialog is forbidden.

Why not upgrade sk_alert to use google_font 2.1.0 ?

@hippyau
Copy link

hippyau commented Sep 24, 2021

I'm having this problem to, is something I can easily do on this end?

Because every version of sk_alert_dialog depends on google_fonts ^1.1.0 which depends on http ^0.12.0+2, every version of sk_alert_dialog requires http ^0.12.0+2.
So, because myapp depends on both http ^0.13.3 and sk_alert_dialog any, version solving failed.

@alguintu
Copy link

Having the same issue. Please update dependencies to avoid conflicts with others pubs.

Because every version of sk_alert_dialog depends on google_fonts ^1.1.0 which depends on http ^0.12.0+2, every version of sk_alert_dialog requires http ^0.12.0+2.
And because google_place 0.4.7 depends on http ^0.13.3 and no versions of google_place match >0.4.7 <0.5.0, sk_alert_dialog is incompatible with google_place ^0.4.7.
So, because app depends on both google_place ^0.4.7 and sk_alert_dialog ^1.0.0, version solving failed.
pub get failed (1; So, because scout_dispatch depends on both google_place ^0.4.7 and sk_alert_dialog ^1.0.0, version solving failed.)

@alguintu
Copy link

I'm having this problem to, is something I can easily do on this end?

Because every version of sk_alert_dialog depends on google_fonts ^1.1.0 which depends on http ^0.12.0+2, every version of sk_alert_dialog requires http ^0.12.0+2.
So, because myapp depends on both http ^0.13.3 and sk_alert_dialog any, version solving failed.

Easiest way right now is to fork and depend on your git, but this approach makes maintain the project more complicated that it should. If the author accepts PRs I'd gladly fix it.

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