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

flutter pub get - Failed - Invalid argument(s): Minimum version ("1.0.0") must be less than maximum ("1.0.0-0") #34

Open
bo-feng-it opened this issue Nov 11, 2020 · 1 comment

Comments

@bo-feng-it
Copy link

bo-feng-it commented Nov 11, 2020

flutter pub get

Invalid argument(s): Minimum version ("1.0.0") must be less than maximum ("1.0.0-0").
package:pub_semver/src/version_range.dart 67:7 new VersionRange
package:pub/src/solver/reformat_ranges.dart 56:27 _reformatTerm
package:pub/src/solver/reformat_ranges.dart 34:26 reformatRanges.
dart:_internal ListIterable.toList
package:pub/src/solver/reformat_ranges.dart 35:12 reformatRanges
package:pub/src/solver/reformat_ranges.dart 134:13 _reformatCause
package:pub/src/solver/reformat_ranges.dart 36:7 reformatRanges
package:pub/src/solver/reformat_ranges.dart 134:13 _reformatCause
package:pub/src/solver/reformat_ranges.dart 36:7 reformatRanges
package:pub/src/solver/reformat_ranges.dart 133:25 _reformatCause
package:pub/src/solver/reformat_ranges.dart 36:7 reformatRanges
package:pub/src/solver/reformat_ranges.dart 133:25 _reformatCause
package:pub/src/solver/reformat_ranges.dart 36:7 reformatRanges
package:pub/src/solver/reformat_ranges.dart 133:25 _reformatCause
package:pub/src/solver/reformat_ranges.dart 36:7 reformatRanges
package:pub/src/solver/version_solver.dart 312:24 VersionSolver._resolveConflict
package:pub/src/solver/version_solver.dart 133:27 VersionSolver._propagate
package:pub/src/solver/version_solver.dart 97:11 VersionSolver.solve.
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 504:14 BoundHostedSource.withPrefetching.
===== asynchronous gap ===========================
package:pub/src/rate_limited_scheduler.dart 106:14 RateLimitedScheduler.withPrescheduling
===== asynchronous gap ===========================
package:pub/src/source/hosted.dart 503:12 BoundHostedSource.withPrefetching
===== asynchronous gap ===========================
package:pub/src/solver/version_solver.dart 94:14 VersionSolver.solve
This is an unexpected error. Please run

pub --trace pub get --no-precompile

and include the logs in an issue on https://github.com/dart-lang/pub/issues/new
Running "flutter pub get" in flutter_login...
pub get failed (1; and include the logs in an issue on https://github.com/dart-lang/pub/issues/new)

@bo-feng-it bo-feng-it changed the title flutter pub get - Invalid argument(s): Minimum version ("1.0.0") must be less than maximum ("1.0.0-0") flutter pub get - Failed - Invalid argument(s): Minimum version ("1.0.0") must be less than maximum ("1.0.0-0") Nov 11, 2020
@Eduardoavargas
Copy link

update flutter_whatsnew to ^1.0.3

Eduardoavargas added a commit to Eduardoavargas/flutter_login that referenced this issue Mar 31, 2021
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

2 participants