[BUG] Fails to run and build in MacOS

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
flutter, macos

Research direction

Start by reviewing the dependency constraints involved in the reported flutter build macos --release failure, especially hive_generator, flutter_test, and bloc_test. Update the incompatible constraint as indicated by the resolver, then rerun flutter build macos --release and confirm that dependency resolution and the release build succeed.

Written by the indexing model from the issue text.

Description

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
Dominant language
Dart
Stars
30
Forks
36
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CCExtractor/ccextractorfluttergui

All issues in CCExtractor/ccextractorfluttergui

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.