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

Version solving failed with json_serializable ^4.1.0 #90

Open
yokasre opened this issue Apr 19, 2021 · 3 comments
Open

Version solving failed with json_serializable ^4.1.0 #90

yokasre opened this issue Apr 19, 2021 · 3 comments

Comments

@yokasre
Copy link

yokasre commented Apr 19, 2021

I'm getting this error while migrating to null safety:

Because dio_http_cache 0.2.11 depends on json_serializable ^3.0.0 and no versions of dio_http_cache match >0.2.11 <0.3.0, dio_http_cache ^0.2.11 requires json_serializable ^3.0.0. So, because <my_project_name> depends on both json_serializable ^4.1.0 and dio_http_cache ^0.2.11, version solving failed.

What's the update on migration?

@biswa1751
Copy link

This solves the error
dio_http_cache:
git:
url: https://github.com/hurshi/dio-http-cache.git
ref: 9aa5cf7

@yokasre
Copy link
Author

yokasre commented Jun 23, 2021

Thanks, @biswa1751. Let me check it out.

@zystudios
Copy link

zystudios commented May 7, 2022

Because app depends on dio_http_cache ^0.3.0 which depends on json_serializable ^4.1.4, json_serializable ^4.1.4 is required.
So, because app depends on json_serializable ^6.1.4, version solving failed.
pub get failed (1; So, because app depends on json_serializable ^6.1.4, version solving failed.)
@biswa1751

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