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

sails_io version incompatible with socket_io_client version #3

Open
abdorll opened this issue Jun 28, 2024 · 0 comments
Open

sails_io version incompatible with socket_io_client version #3

abdorll opened this issue Jun 28, 2024 · 0 comments

Comments

@abdorll
Copy link

abdorll commented Jun 28, 2024

We're using socket_io version 4.1.2 on our server and from socket_io_client doc on pub.dev, that's only compatible with socket_io_client version 2.* and no other one else.

In addition, we're using sails_io too on the server and adding it too to my dependencies to bind the clint & server together, here's the error I get:

Because every version of sails_io depends on socket_io_client ^1.0.1 and my_app depends on socket_io_client ^2.0.3, sails_io is forbidden.
So, because my_app depends on sails_io ^0.0.2, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on socket_io_client: flutter pub add socket_io_client:^1.0.2
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

1 participant