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

DRAW 0.0.1 is the latest version available when running "flutter packages get" #37

Closed
CometDog opened this issue Mar 3, 2018 · 5 comments
Assignees

Comments

@CometDog
Copy link

CometDog commented Mar 3, 2018

When adding draw as a pubspec dependency (using Flutter), the latest version found is 0.0.1.
To get 0.0.3, it must be cloned from GitHub (or just getting the pub archive) and included as a local dependency

@bkonyi
Copy link
Member

bkonyi commented Mar 3, 2018

Would you mind sharing your pubspec with me? I haven't tried adding it as a dependency for Flutter before, but this did work with my moderation demo from DartConf 2018.

@CometDog
Copy link
Author

CometDog commented Mar 3, 2018

Sure. It's just straight out of the example from the first flutter generation

name: example
description: A new Flutter project.

dependencies:
  flutter:
    sdk: flutter
  draw:
    ^0.0.3

  cupertino_icons: ^0.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter

flutter:

  uses-material-design: true

Notably, even if you get this to accept 0.0.3 (or downgrade to 0.0.1), it'll fail because of this error (which could be a separate issue)

Package quiver has no versions that match >=0.26.2 <0.27.0 derived from:
- draw 0.0.1 depends on version >=0.26.2 <0.27.0
- flutter_test 0.0.0 depends on version 0.28.0

That is with the latest Flutter SDK version for flutter_test

@bkonyi
Copy link
Member

bkonyi commented Mar 3, 2018

Thanks for posting that. Just curious, what platform is this on? I'll look into all of this today.

@CometDog
Copy link
Author

CometDog commented Mar 3, 2018

Windows 10 1803 17112.1.
Targeting Android with Gradle 3.0.1 for building (doesn't get that far anyway)

@bkonyi
Copy link
Member

bkonyi commented Mar 4, 2018

That was odd. I'm not sure why that didn't work, but I've gone ahead and published version 0.1.0 with package:quiver rolled to the same version as flutter_test. I've successfully pulled DRAW using flutter package upgrade so I think this is fixed now. Please let me know if you're still having issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants