photoprism-mobile icon indicating copy to clipboard operation
photoprism-mobile copied to clipboard

flutter pub errors out

Open step21 opened this issue 3 years ago • 2 comments

Hey I was just trying to build locally - but flutter pub get errors out due to version conflicts. Is there a solution for that, or did I do something wrong?

Running "flutter pub get" in flutter_tools...                      10,7s
Because no versions of mockito match >4.1.4 <5.0.0 and mockito 4.1.4 depends on test_api ^0.2.19-nullsafety, mockito ^4.1.4 requires test_api ^0.2.19-nullsafety.
And because every version of flutter_test from sdk depends on test_api 0.3.0, mockito ^4.1.4 is incompatible with flutter_test from sdk.
So, because photoprism depends on both flutter_test any from sdk and mockito ^4.1.4, version solving failed.
Running "flutter pub get" in photoprism-mobile...
pub get failed (1; So, because photoprism depends on both flutter_test any from sdk and mockito ^4.1.4, version solving failed.)

step21 avatar May 24 '21 18:05 step21

Did you figure this out?

jessanros avatar Jun 26 '21 18:06 jessanros

No. But I also didn't try much further.

step21 avatar Jun 28 '21 10:06 step21