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

Because wakelock_windows <0.2.1 depends on win32 ^2.0.0 and wakelock >=0.5.6 depends on wakelock_windows #1267

Open
joshua750 opened this issue Oct 30, 2023 · 1 comment
Assignees
Labels
new issue New issue which has not been checked yet

Comments

@joshua750
Copy link

/Applications/flutter/bin/flutter --no-color pub get
Resolving dependencies...
Because wakelock_windows <0.2.1 depends on win32 ^2.0.0 and wakelock >=0.5.6 depends on wakelock_windows ^0.2.0, wakelock >=0.5.6 requires win32 ^2.0.0 or wakelock_windows ^0.2.1.
And because wakelock_windows >=0.2.1 depends on win32 ^3.0.0, wakelock >=0.5.6 requires win32 ^2.0.0 or ^3.0.0.
(1) So, because package_info_plus >=4.0.1 depends on win32 >=4.0.0 <6.0.0 and better_player >=0.0.82 depends on wakelock ^0.6.1+2, package_info_plus >=4.0.1 is incompatible with better_player >=0.0.82.

Because better_player >=0.0.71 <0.0.74 depends on xml ^5.1.2 and better_player >=0.0.74 <0.0.80 depends on xml ^5.3.0, better_player >=0.0.71 <0.0.80 requires xml ^5.1.2.
And because better_player >=0.0.80 <0.0.82 depends on xml ^5.3.1 and better_player >=0.0.82 <0.0.83 depends on xml ^5.3.0, better_player >=0.0.71 <0.0.83 requires xml ^5.1.2.
And because package_info_plus >=4.0.1 is incompatible with better_player >=0.0.82 (1), if package_info_plus >=4.0.1 and better_player >=0.0.71 then xml ^5.1.2.
And because upgrader >=7.1.0-alpha.2 depends on package_info_plus ^4.0.1 and upgrader >=7.0.0 depends on xml ^6.3.0, upgrader >=7.1.0-alpha.2 is incompatible with better_player >=0.0.71.
So, because lhtv depends on both upgrader ^8.1.0 and better_player ^0.0.71, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on better_player: flutter pub add better_player:^0.0.63
    Process finished with exit code 1
@joshua750 joshua750 added the new issue New issue which has not been checked yet label Oct 30, 2023
@yairpe
Copy link

yairpe commented Jan 8, 2024

Same here :(

Error: Failed running flutter pub get...
Because wakelock_windows >=0.2.1 depends on win32 ^3.0.0 and wakelock_windows <0.2.1 depends on win32 ^2.0.0, every version of wakelock_windows requires win32 ^2.0.0 or ^3.0.0.
And because file_picker >=5.3.2 depends on win32 ^5.0.2, file_picker >=5.3.2 is incompatible with wakelock_windows.
And because better_player >=0.0.82 depends on wakelock ^0.6.1+2 which depends on wakelock_windows ^0.2.0, file_picker >=5.3.2 is incompatible with better_player >=0.0.82.
So, because custom_widget depends on both better_player ^0.0.83 and file_picker 6.1.1, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on better_player: flutter pub add better_player:^0.0.63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new issue New issue which has not been checked yet
Projects
None yet
Development

No branches or pull requests

3 participants