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
{{ message }}
Repository navigation
[go_router_builder] Add compatibility with analyzer 10.x #182064
go_router_builder isn't compatible with the latest analyzer and packages using these versions:
Because no versions of leancode_lint match >20.0.0 <21.0.0 and leancode_lint 20.0.0 depends on analyzer ^10.0.2, leancode_lint ^20.0.0 requires analyzer ^10.0.2.
And because go_router_builder 4.2.0 depends on analyzer >=8.2.0 <10.0.0 and no versions of go_router_builder match >4.2.0 <5.0.0, leancode_lint ^20.0.0 is incompatible with go_router_builder ^4.2.0.
So, because app depends on both go_router_builder ^4.2.0 and leancode_lint ^20.0.0, version solving failed.
Failed to update packages.
Of course (I created a separate clean project, with just the offending dependencies):
pubspec.yaml
name: reproductiondescription: "A new Flutter project."publish_to: 'none'version: 0.1.0environment:
sdk: ^3.10.8dependencies:
flutter:
sdk: fluttergo_router: ^17.1.0dev_dependencies:
go_router_builder: ^4.2.0leancode_lint: ^20.0.0flutter:
uses-material-design: true
flutter doctor -v
[✓] Flutter (Channel stable, 3.38.9, on macOS 26.3 25D122 darwin-arm64, locale en-US) [210ms]
• Flutter version 3.38.9 on channel stable at /Users/piotr/fvm/versions/3.38.9
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 67323de285 (12 days ago), 2026-01-28 13:43:12 -0800
• Engine revision 587c18f873
• Dart version 3.10.8
• DevTools version 2.51.1
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0-rc1) [947ms]
• Android SDK at /Users/piotr/Library/Android/sdk
• Emulator version 36.3.10.0 (build_id 14472402) (CL:N/A)
• Platform android-36, build-tools 36.1.0-rc1
• ANDROID_HOME = /Users/piotr/Library/Android/sdk
• Java binary at: /Users/piotr/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.2) [743ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17C52
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [4ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Connected device (3 available) [5.9s]
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 16 (API 36) (emulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 26.3 25D122 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 144.0.7559.133
[✓] Network resources [230ms]
• All expected network resources are available.
• No issues found!
flutter pub get
Resolving dependencies...
Because leancode_lint >=20.0.0 depends on analyzer ^10.0.2 and go_router_builder >=4.1.3 depends on analyzer >=8.2.0
<10.0.0, leancode_lint >=20.0.0 is incompatible with go_router_builder >=4.1.3.
So, because reproduction depends on both go_router_builder ^4.2.0 and leancode_lint ^20.0.0, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on leancode_lint: flutter pub add dev:leancode_lint:^6.0.0
Failed to update packages.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
saurabh-mirajkar commentedon Feb 9, 2026
Thanks for the report. To better understand the scope and impact, could you please share:
pubspect.yaml(especially all dev_dependencies)flutter doctor -vflutter pub get(including version solving error)PiotrRogulski commentedon Feb 9, 2026
Of course (I created a separate clean project, with just the offending dependencies):
pubspec.yaml
flutter doctor -v
flutter pub get
saurabh-mirajkar commentedon Feb 9, 2026
@PiotrRogulski Thanks for the requested details.
felix-barz-brickmakers commentedon Mar 24, 2026
[pigeon] bumps analyzer support to between 10 and 12 (flutter#11358)
github-actions commentedon Apr 11, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.[pigeon] bumps analyzer support to between 10 and 12 (flutter#11358)