Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Seems incompatible with SDK 1.24 (latest stable) #1606

Closed
binary132 opened this issue Mar 16, 2018 · 2 comments
Closed

Seems incompatible with SDK 1.24 (latest stable) #1606

binary132 opened this issue Mar 16, 2018 · 2 comments

Comments

@binary132
Copy link

binary132 commented Mar 16, 2018

Hi,

I've set ^1.0.7 in my pubspec dependencies, but when I pub get after removing lock and .packages, I get:

Package web_socket_channel has no versions that match >=1.0.7 <2.0.0

According to mediator:

❯ mediator
✓ No dependency conflicts found! You should be good to go.
Done at 2018-03-16 13:33:38.389067.

I am using SDK 1.24.3 on OS X 10.13.3.

@nex3
Copy link
Member

nex3 commented Mar 16, 2018

That's correct. The latest release requires Dart 2.

You shouldn't ever need to write ^1.0.7 in your pubspec file; there are no new features introduced between 1.0.0 and 1.0.7, so writing ^1.0.0 will work fine and will allow pub to find versions of the package that work with your SDK.

@nex3 nex3 closed this as completed Mar 16, 2018
@tiny-express
Copy link

Thanks @nex3

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

No branches or pull requests

3 participants