Closed benjaminji closed 4 years ago
Here are my dependencies: ssh: ^0.0.5 flutter_cache_manager: ^1.1.3 uuid: ^2.0.4 path_provider: ^1.4.4 cached_network_image: ^1.1.3 image_picker: ^0.6.2+2
got below issue----------------------------------
Because ssh 0.0.5 depends on uuid ^1.0.3 and no versions of ssh match >0.0.5 <0.1.0, ssh ^0.0.5 requires uuid ^1.0.3.
So, because project1 depends on both ssh ^0.0.5 and uuid ^2.0.4, version solving failed. pub get failed (1)
changed uuid to ^1.0.3 got another issue -----------------------------
Because flutter_cache_manager >=0.3.0 depends on uuid ^2.0.0 and yszltech depends on uuid ^1.0.3, flutter_cache_manager >=0.3.0 is forbidden.
So, because yszltech depends on flutter_cache_manager ^1.1.3, version solving failed. pub get failed (1)
please someone help me on this issue, thanks.
@benjaminji,
Sorry for the late response. You can try overriding the version like below:
dependency_overrides: uuid: ^2.0.0
Thanks, Qian
Hi, uuid has been upgraded to ^2.0.0 in ssh 0.0.6.
Here are my dependencies: ssh: ^0.0.5 flutter_cache_manager: ^1.1.3 uuid: ^2.0.4 path_provider: ^1.4.4 cached_network_image: ^1.1.3 image_picker: ^0.6.2+2
got below issue----------------------------------
Because ssh 0.0.5 depends on uuid ^1.0.3 and no versions of ssh match >0.0.5 <0.1.0, ssh ^0.0.5 requires uuid ^1.0.3.
So, because project1 depends on both ssh ^0.0.5 and uuid ^2.0.4, version solving failed. pub get failed (1)
changed uuid to ^1.0.3 got another issue -----------------------------
Because flutter_cache_manager >=0.3.0 depends on uuid ^2.0.0 and yszltech depends on uuid ^1.0.3, flutter_cache_manager >=0.3.0 is forbidden.
So, because yszltech depends on flutter_cache_manager ^1.1.3, version solving failed. pub get failed (1)
please someone help me on this issue, thanks.