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

Small bug with socket-io version #101

Open
boudydegeer opened this issue Dec 19, 2022 · 1 comment
Open

Small bug with socket-io version #101

boudydegeer opened this issue Dec 19, 2022 · 1 comment

Comments

@boudydegeer
Copy link

boudydegeer commented Dec 19, 2022

I've a couple of feathersjs backend services that are using version 4.5.15, therefore the startup guide in the documentation did not work for me, I followed the instructions exactly.
I also wasn't getting any error or warn.

It wan't making the call to the backend (via websockets), nor returning anything.

After hours of debugging, I finally come to that, because it happens already once to me.
Just change the socket-io version to version '2'.

If you can update that for an older version of feathers you need to install

{
...
  "socket.io-client": "2",
...
}  

Just in case somebody else comes across this issue.

@marshallswain
Copy link
Owner

So the takeaway is if you run Feathers-client v4, use socket.io-client v2?

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

2 participants