Open harithwick opened 2 years ago
me too...
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.)
you can use from this PR #114
dio_http_cache:
git: https://github.com/danilof/dio-http-cache
Credit to @danilof
Another workaround is to specify an override in pubspec.yaml
:
dependency_overrides:
# for dio_http_cache
json_serializable: ^6.2.0
来信已收到
Please update this package so that I can upgrade to the latest version
Running "flutter pub get" in QPayFlutterMobile_WEB_Branch...
Because dio_http_cache >=0.3.0 depends on json_serializable ^4.1.4 and quicklypayit depends on json_serializable ^6.2.0, dio_http_cache >=0.3.0 is forbidden. So, because quicklypayit depends on dio_http_cache ^0.3.0, version solving failed. pub get failed (1; So, because quicklypayit depends on dio_http_cache ^0.3.0, version solving failed.) Process finished with exit code 1