Flutterando / slidy

CLI package manager and template for Flutter
https://pub.dev/packages/slidy
Apache License 2.0
803 stars 101 forks source link

Slidy breaks pubspec dependencies #222

Closed RenatoCesarF closed 3 years ago

RenatoCesarF commented 3 years ago

I'm trying to add slidy and mobx to my project but after create the flutter project, use pub get, install slidy and run slidy start the flutter pub get return me error

Because modular_codegen >=2.0.0+1 <3.0.0-nullsafety.1 depends on analyzer >=0.38.5 <0.41.0 and mockito >=5.0.0 depends on analyzer ^1.0.0, modular_codegen >=2.0.0+1 <3.0.0-nullsafety.1 is incompatible with mockito >=5.0.0. So, because aaa depends on both mockito ^5.0.0 and modular_codegen ^2.1.0, version solving failed. Running "flutter pub get" in aaa... pub get failed (1; So, because aaa depends on both mockito ^5.0.0 and modular_codegen ^2.1.0, version solving failed.)

Maybe the slidy start is breaking my pubspac.yalm. Anyone have a way to fix it?

Bwolfs2 commented 3 years ago

U have to do 2 fix: 1- Change mockito 5.0.0 to mockito 4.1.4 2- Change modular_codegen ^2.1.0 to mockito ^2.0.1

RenatoCesarF commented 3 years ago

Now he doesn't recognize the controllers, but there is a issue already register for that