a-oboh/dart-sevr

Because every version of sevr depends on body_parser ^1.1.1 which depends on http_parser ^3.1.1, every version of sevr requires http_parser ^3.1.1.

Closed this issue · 0 comments

when i try to add this package sevr: ^1.0.4 to my pubspec.yaml and run flutter pub get if shows this error:

Because every version of sevr depends on body_parser ^1.1.1 which depends on http_parser ^3.1.1, every version of sevr requires http_parser ^3.1.1.
And because http >=0.13.0 depends on http_parser ^4.0.0, sevr is incompatible with http >=0.13.0.
Because basic_utils >=3.3.1 depends on http ^0.13.3 and basic_utils >=3.0.0-nullsafety.0 <3.3.1 depends on http ^0.13.0, basic_utils >=3.0.0-nullsafety.0 requires http ^0.13.0.
Thus, sevr is incompatible with basic_utils >=3.0.0-nullsafety.0.
And because mongo_dart 0.7.4 depends on basic_utils ^3.0.0 and no versions of mongo_dart match >0.7.4 <0.8.0, sevr is incompatible with mongo_dart ^0.7.4.
So, because e_commerce depends on both mongo_dart ^0.7.4 and sevr ^1.0.4, version solving failed.

Here is my pubspec.yaml:

#The following adds the Cupertino Icons font to your application.
#Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
gradient_textfield: ^0.0.1
flutter_staggered_grid_view: ^0.6.1
mongo_dart: ^0.7.4
sevr: ^1.0.4
flutter_number_picker: ^1.0.4
provider: ^6.0.2
analyzer: ^3.3.1