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

Unable to add dependency 2.4.1 #305

Closed
cjcj125125 opened this issue Dec 19, 2023 · 1 comment · Fixed by #306
Closed

Unable to add dependency 2.4.1 #305

cjcj125125 opened this issue Dec 19, 2023 · 1 comment · Fixed by #306

Comments

@cjcj125125
Copy link

Because every version of flutter_test from sdk depends on web 0.3.0 and web_socket_channel >=2.4.1 depends on web ^0.4.0, flutter_test from sdk is incompatible with web_socket_channel >=2.4.1.
So, because clean_mobile depends on both web_socket_channel ^2.4.1 and flutter_test from sdk, version solving failed.

How can I fix it?

@NotTsunami
Copy link
Contributor

NotTsunami commented Dec 19, 2023

There's no fixes/feature included in 2.4.1, only some documentation/example improvements and a move to package:web to support WebAssembly compilation, so you're not missing any mission critical changes by any means.

The fix would be for this package to allow a wider range of version for package:web as mentioned in this comment. Since commenting, I've sent in a pull request for this. A breaking change in API actually makes this incompatible and the PR erroneously allowed backwards compatibility when it shouldn't have.

NotTsunami added a commit to NotTsunami/web_socket_channel that referenced this issue Dec 19, 2023
kevmoo pushed a commit that referenced this issue Jan 4, 2024
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

Successfully merging a pull request may close this issue.

2 participants