Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[analyzer_plugin] version solving failed after analyzer ^5.0.0 #50043

Closed
Carapacik opened this issue Sep 23, 2022 · 2 comments
Closed

[analyzer_plugin] version solving failed after analyzer ^5.0.0 #50043

Carapacik opened this issue Sep 23, 2022 · 2 comments
Assignees
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.

Comments

@Carapacik
Copy link

Carapacik commented Sep 23, 2022

This tracker is for issues related to:

  • Analyzer

Running flutter pub get

Because analyzer_plugin 0.11.1 depends on analyzer ^4.1.0 and no versions of analyzer_plugin match >0.11.1 <0.12.0, analyzer_plugin ^0.11.1 requires analyzer ^4.1.0.
So, because analyzer_error_with_freezed depends on both analyzer ^5.0.0 and analyzer_plugin ^0.11.1, version solving failed.
pub get failed (1; So, because analyzer_error_with_freezed depends on both analyzer ^5.0.0 and analyzer_plugin ^0.11.1, version solving failed.)

My pubspec.yaml

environment:
  sdk: '>=2.17.0 <3.0.0'

dependencies:
  flutter:
    sdk: flutter
  analyzer: ^5.0.0
  analyzer_plugin: ^0.11.1

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^2.0.1

Can you please update the analyzer version inside the package to ^5.0.0?

analyzer: ^4.3.0

@Carapacik Carapacik changed the title analyzer_plugin version solving failed after analyzer ^5.0.0 [analyzer_plugin] version solving failed after analyzer ^5.0.0 Sep 23, 2022
@simolus3
Copy link
Contributor

I've opened https://dart-review.googlesource.com/c/sdk/+/260704 to bump the version in the pubspec.

copybara-service bot pushed a commit that referenced this issue Sep 23, 2022
Related to #50043

Change-Id: I6e0a93f647e4017bfb320abf29992745908f466e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/260704
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
@mraleph mraleph added the area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. label Sep 26, 2022
@scheglov scheglov self-assigned this Sep 26, 2022
@scheglov
Copy link
Contributor

I published analyzer_plugin 0.11.2 with https://dart-review.googlesource.com/c/sdk/+/260704 changes.
Strangely I was not able to do this on Friday, some issues with permissions maybe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
Projects
None yet
Development

No branches or pull requests

4 participants