You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: vm_service is pinned to version 14.0.0 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because riverpod_lint <1.0.1 depends on riverpod_analyzer_utils ^0.0.1 and riverpod_lint >=1.0.1 <1.1.0 depends on riverpod_analyzer_utils ^0.0.2, riverpod_lint <1.1.0 requires riverpod_analyzer_utils ^0.0.1.
And because riverpod_lint >=1.1.0 <1.1.3 depends on custom_lint_builder ^0.2.12 and riverpod_lint >=1.1.3 <1.1.4 depends on riverpod_analyzer_utils ^0.1.2, riverpod_lint <1.1.4 requires riverpod_analyzer_utils ^0.0.1 or
^0.1.2 or custom_lint_builder ^0.2.12.
And because riverpod_lint >=1.1.4 <1.1.7 depends on custom_lint_builder ^0.3.2 and riverpod_lint ^1.3.2 depends on riverpod_analyzer_utils ^0.3.1, riverpod_lint <1.1.7-∞ or >=1.3.2 <2.0.0-∞ requires custom_lint_builder
^0.2.12 or ^0.3.2 or riverpod_analyzer_utils ^0.0.1 or ^0.1.2 or ^0.3.1.
And because riverpod_lint >=1.1.7 <1.3.2 depends on custom_lint_builder ^0.3.3 and riverpod_lint >=2.0.0 <2.0.1 depends on riverpod_analyzer_utils ^0.3.2, riverpod_lint <2.0.1 requires custom_lint_builder ^0.2.12 or
>=0.3.2 <0.4.0 or riverpod_analyzer_utils ^0.0.1 or ^0.1.2 or >=0.3.1 <0.4.0.
And because riverpod_lint >=2.0.1 depends on custom_lint_builder ^0.5.2 and custom_lint_builder >=0.0.13 <0.5.5 depends on hotreloader ^3.0.5, every version of riverpod_lint requires riverpod_analyzer_utils ^0.0.1 or
^0.1.2 or >=0.3.1 <0.4.0 or hotreloader ^3.0.5 or custom_lint_builder ^0.5.5.
(1) So, because custom_lint_builder >=0.5.5 depends on hotreloader >=3.0.5 <5.0.0 and riverpod_generator >=2.3.7 <3.0.0-dev.2 depends on riverpod_analyzer_utils ^0.5.0, if riverpod_generator >=2.3.7 <3.0.0-dev.2 and
riverpod_lint any then hotreloader >=3.0.5 <5.0.0.
Because hotreloader >=3.0.5 <3.0.6 depends on vm_service >=6.0.1 <10.0.0 and hotreloader >=3.0.6 <4.1.0 depends on vm_service >=6.0.1 <12.0.0, hotreloader >=3.0.5 <4.1.0 requires vm_service >=6.0.1 <12.0.0.
And because hotreloader >=4.1.0 depends on vm_service >=6.0.1 <14.0.0, hotreloader >=3.0.5 requires vm_service >=6.0.1 <14.0.0.
And because if riverpod_generator >=2.3.7 <3.0.0-dev.2 and riverpod_lint any then hotreloader >=3.0.5 <5.0.0 (1), if riverpod_generator >=2.3.7 <3.0.0-dev.2 and riverpod_lint any then vm_service >=6.0.1 <14.0.0.
And because riverpod_test depends on flutter_test from sdk which depends on vm_service 14.0.0, riverpod_generator >=2.3.7 <3.0.0-dev.2 is incompatible with riverpod_lint.
So, because riverpod_test depends on both riverpod_generator ^2.3.9 and riverpod_lint any, version solving failed.
To be able to install riverpod_lint , remove this:
flutter:
sdk: flutter
and you can now install flutter pub add dev:riverpod_lint
Expected behavior
Install Riverpod packages at the same time be compatible with flutter_test.
The text was updated successfully, but these errors were encountered:
Describe the bug
riverpod_lint
cannot be installed if there isflutter_test
in pubspec.yamlTo Reproduce
pubspec.yaml
, it has:Don't touch this, yet!
3. Install the following:
Here's the error:
To be able to install
riverpod_lint
, remove this:and you can now install
flutter pub add dev:riverpod_lint
Expected behavior
Install Riverpod packages at the same time be compatible with
flutter_test
.The text was updated successfully, but these errors were encountered: