[GH-ISSUE #8336] ecause analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main. #3741

Closed
opened 2026-03-23 21:32:51 +00:00 by mirror · 1 comment
Owner

Originally created by @cuiwenke on GitHub (Nov 11, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8336

Bug Description

Because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 <7.3.0 requires _macros 0.3.3 from sdk.
So, because _macros from sdk doesn't exist (could not find package _macros in the Dart SDK) and flowy_infra_ui depends on analyzer 6.11.0, version solving failed.
Failed to update packages.

How to Reproduce

Because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 <7.3.0 requires _macros 0.3.3 from sdk.
So, because _macros from sdk doesn't exist (could not find package _macros in the Dart SDK) and flowy_infra_ui depends on analyzer 6.11.0, version solving failed.
Failed to update packages.

Expected Behavior

Because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 <7.3.0 requires _macros 0.3.3 from sdk.
So, because _macros from sdk doesn't exist (could not find package _macros in the Dart SDK) and flowy_infra_ui depends on analyzer 6.11.0, version solving failed.
Failed to update packages.

Operating System

Because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 <7.3.0 requires _macros 0.3.3 from sdk. So, because _macros from sdk doesn't exist (could not find package _macros in the Dart SDK) and flowy_infra_ui depends on analyzer 6.11.0, version solving failed. Failed to update packages.

AppFlowy Version(s)

Because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 <7.3.0 requires _macros 0.3.3 from sdk. So, because _macros from sdk doesn't exist (could not find package _macros in the Dart SDK) and flowy_infra_ui depends on analyzer 6.11.0, version solving failed. Failed to update packages.

Screenshots

No response

Additional Context

No response

Originally created by @cuiwenke on GitHub (Nov 11, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8336 ### Bug Description Because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 <7.3.0 requires _macros 0.3.3 from sdk. So, because _macros from sdk doesn't exist (could not find package _macros in the Dart SDK) and flowy_infra_ui depends on analyzer 6.11.0, version solving failed. Failed to update packages. ### How to Reproduce Because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 <7.3.0 requires _macros 0.3.3 from sdk. So, because _macros from sdk doesn't exist (could not find package _macros in the Dart SDK) and flowy_infra_ui depends on analyzer 6.11.0, version solving failed. Failed to update packages. ### Expected Behavior Because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 <7.3.0 requires _macros 0.3.3 from sdk. So, because _macros from sdk doesn't exist (could not find package _macros in the Dart SDK) and flowy_infra_ui depends on analyzer 6.11.0, version solving failed. Failed to update packages. ### Operating System Because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 <7.3.0 requires _macros 0.3.3 from sdk. So, because _macros from sdk doesn't exist (could not find package _macros in the Dart SDK) and flowy_infra_ui depends on analyzer 6.11.0, version solving failed. Failed to update packages. ### AppFlowy Version(s) Because analyzer >=6.9.0 <7.3.0 depends on macros >=0.1.3-main.0 <0.1.4 which depends on _macros 0.3.3 from sdk, analyzer >=6.9.0 <7.3.0 requires _macros 0.3.3 from sdk. So, because _macros from sdk doesn't exist (could not find package _macros in the Dart SDK) and flowy_infra_ui depends on analyzer 6.11.0, version solving failed. Failed to update packages. ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@LucasXu0 commented on GitHub (Nov 12, 2025):

Please use Flutter 3.27.4.

<!-- gh-comment-id:3519586436 --> @LucasXu0 commented on GitHub (Nov 12, 2025): Please use Flutter 3.27.4.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3741
No description provided.