Skip to content

"flutter packages get" throws no versions available but actually the version exists #1849

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

Closed
hemanthrajv opened this issue Mar 26, 2018 · 2 comments

Comments

@hemanthrajv
Copy link

hemanthrajv commented Mar 26, 2018

How to reproduce?

Clone flutter repo with master branch as active branch.

edit pubspec.yaml:

dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^0.1.0
  flutter_built_redux: ^0.5.0
  built_redux: ^7.4.0
  built_value: ^5.2.1
  built_collection: ^3.0.5

dev_dependencies:
  flutter_test:
    sdk: flutter
  build: ^0.11.2
  build_runner: ^0.8.0
  built_value_generator: ^5.2.1
  source_gen: ^0.7.5+1

then run

flutter packages get

Error:

Running "flutter packages get" in test_app...
Package build_runner has no versions that match >=0.8.0 <0.9.0 derived from:
- test_app depends on version ^0.8.0
pub get failed (1)
Process finished with exit code 1

But the version 0.8.0 exists.

Not sure why pub throws such error when the package is actually available.

@hemanthrajv hemanthrajv changed the title "flutter packages get" trows no versions available but actually the version exists "flutter packages get" throws no versions available but actually the version exists Mar 26, 2018
@zoechi
Copy link

zoechi commented Mar 26, 2018

built_redux is not yet compatible with the latest build

@nex3
Copy link
Member

nex3 commented Mar 26, 2018

Duplicate of #912.

@nex3 nex3 closed this as completed Mar 26, 2018
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

3 participants