feathers-pinia icon indicating copy to clipboard operation
feathers-pinia copied to clipboard

Small bug with socket-io version

Open boudydegeer opened this issue 2 years ago • 1 comments

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.

boudydegeer avatar Dec 19 '22 19:12 boudydegeer

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

marshallswain avatar Dec 21 '22 04:12 marshallswain