dio-http-cache icon indicating copy to clipboard operation
dio-http-cache copied to clipboard

Version solving failed with json_serializable ^4.1.0

Open yokasre opened this issue 4 years ago • 3 comments

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?

yokasre avatar Apr 19 '21 09:04 yokasre

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

biswa1751 avatar Jun 22 '21 16:06 biswa1751

Thanks, @biswa1751. Let me check it out.

yokasre avatar Jun 23 '21 05:06 yokasre

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

zystudios avatar May 07 '22 06:05 zystudios