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

[BUG] Fails to run and build in MacOS #59

Open
superbonaci opened this issue Dec 10, 2023 · 0 comments
Open

[BUG] Fails to run and build in MacOS #59

superbonaci opened this issue Dec 10, 2023 · 0 comments

Comments

@superbonaci
Copy link

OS: macOS 14.1.2 23B92 arm64

Fails to build:

$ flutter build macos --release
Resolving dependencies... (9.9s)
Note: matcher is pinned to version 0.12.16 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Note: test_api is pinned to version 0.6.1 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.


    Because no versions of hive_generator match >1.1.3 <2.0.0 and hive_generator >=1.0.1 <1.1.1 depends on analyzer ^1.0.0, hive_generator >=1.0.1 <1.1.1-∞ or >1.1.3 <2.0.0 requires analyzer ^1.0.0.
    And because hive_generator >=1.1.1 <1.1.2 depends on analyzer >=1.0.0 <3.0.0, hive_generator >=1.0.1 <1.1.2-∞ or >1.1.3 <2.0.0 requires analyzer >=1.0.0 <3.0.0.
(1) So, because hive_generator >=1.1.2 <1.1.3 depends on analyzer >=1.0.0 <4.0.0 and hive_generator 1.1.3 depends on analyzer >=1.0.0 <5.0.0, hive_generator ^1.0.1 requires analyzer >=1.0.0 <5.0.0.

    Because test >=1.16.6 <1.16.7 depends on test_api 0.2.20 and test >=1.16.7 <1.17.0 depends on test_api 0.3.0, test >=1.16.6 <1.17.0 requires test_api 0.2.20 or 0.3.0.
(2) So, because test >=1.17.0 <1.17.6 depends on test_api 0.4.0, test >=1.16.6 <1.17.6 requires test_api 0.2.20 or 0.3.0 or 0.4.0.

    Because test >=1.17.10 <1.17.11 depends on test_api 0.4.2 and test >=1.17.11 <1.18.0 depends on test_api 0.4.3, test >=1.17.10 <1.18.0 requires test_api 0.4.2 or 0.4.3.
    And because test >=1.18.0 <1.18.1 depends on test_api 0.4.4 and test >=1.18.1 <1.19.0 depends on test_api 0.4.5, test >=1.17.10 <1.19.0 requires test_api 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5.
    And because test >=1.19.0 <1.19.3 depends on test_api 0.4.6 and test >=1.19.3 <1.19.4 depends on test_api 0.4.7, test >=1.17.10 <1.19.4 requires test_api 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7.
    And because test >=1.16.6 <1.17.6 requires test_api 0.2.20 or 0.3.0 or 0.4.0 (2), test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7.
    And because test >=1.24.4 depends on analyzer >=5.12.0 <7.0.0 and test >=1.24.3 <1.24.4 depends on test_api 0.6.0, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.24.3 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.6.0 or analyzer >=5.12.0 <7.0.0.
    And because test >=1.24.0 <1.24.3 depends on matcher >=0.12.15 <0.12.16 and test >=1.22.2 <1.24.0 depends on test_api 0.4.18, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.22.2 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.18 or 0.6.0 or
      analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.22.1 <1.22.2 depends on test_api 0.4.17 and test >=1.21.7 <1.22.0 depends on test_api 0.4.15, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.21.7 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.15 or
      0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.21.6 <1.21.7 depends on test_api 0.4.14 and test >=1.21.5 <1.21.6 depends on test_api 0.4.13, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.21.5 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.13 or
      0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.21.4 <1.21.5 depends on test_api 0.4.12 and test >=1.21.3 <1.21.4 depends on test_api 0.4.11, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.21.3 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.11 or
      0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.21.2 <1.21.3 depends on test_api 0.4.10 and test >=1.20.0 <1.21.2 depends on test_api 0.4.9, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.20.0 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.9 or
      0.4.10 or 0.4.11 or 0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.19.4 <1.20.0 depends on test_api 0.4.8 and test >=1.17.6 <1.17.10 depends on test_api 0.4.1, test >=1.16.6 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9 or 0.4.10 or 0.4.11 or 0.4.12 or
      0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test >=1.16.0-nullsafety.19 <1.16.6 depends on test_api 0.2.19 and no versions of test match >1.22.0 <1.22.1, test >=1.16.0-nullsafety.19 <1.22.0-∞ or >1.22.0 requires test_api 0.2.19 or 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9 or
      0.4.10 or 0.4.11 or 0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
    And because test 1.22.0 depends on test_api 0.4.16 and every version of flutter_test from sdk depends on matcher 0.12.16, if test >=1.16.0-nullsafety.19 and flutter_test from sdk then test_api 0.2.19 or 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9
      or 0.4.10 or 0.4.11 or 0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.16 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0.
    And because hive_generator ^1.0.1 requires analyzer >=1.0.0 <5.0.0 (1), if hive_generator ^1.0.1 and test >=1.16.0-nullsafety.19 and flutter_test from sdk then test_api 0.2.19 or 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9 or 0.4.10 or 0.4.11 or
      0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.16 or 0.4.17 or 0.4.18 or 0.6.0.
    And because every version of flutter_test from sdk depends on test_api 0.6.1, one of hive_generator ^1.0.1 or test >=1.16.0-nullsafety.19 or flutter_test from sdk must be false.
    And because ccxgui depends on bloc_test ^8.1.0 which depends on test ^1.16.0, hive_generator ^1.0.1 is incompatible with flutter_test from sdk.
    So, because ccxgui depends on both flutter_test from sdk and hive_generator ^1.1.0, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on hive_generator: flutter pub add dev:hive_generator:^2.0.1
@superbonaci superbonaci changed the title Fails to compile in MacOS Fails to run and build in MacOS Dec 10, 2023
@superbonaci superbonaci changed the title Fails to run and build in MacOS [BUG] Fails to run and build in MacOS Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant