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

RSocketWebSocketClient is not a constructor #263

Open
dev-morph opened this issue Jul 6, 2023 · 1 comment
Open

RSocketWebSocketClient is not a constructor #263

dev-morph opened this issue Jul 6, 2023 · 1 comment
Assignees

Comments

@dev-morph
Copy link

dev-morph commented Jul 6, 2023

First of all, Thanks for your nice work!
But when I follow your guide, I got in trouble.

Expected Behavior

I followed example page code of Link
I thought I could easily connect RSocketServer.

Actual Behavior

But I got RSocketWebSocketClient is not a constructor ERROR, even though I just copy and paste guide code.
I searched it, I found I should downgrade to ^0.0.27. both of rsocket-core and rsocket-websocket-client.
and with 0.0.27 version, it works like a charm!
maybe guide is only for version 0.0.27? I am little bit confused.

Steps to Reproduce

After npm install rsocket-core rsocket-websocket-client;
it will install 1.0.0-alpha.3.
and then copy paste guide code.

@viglucci
Copy link
Member

viglucci commented Jul 7, 2023

Hey @dev-morph thanks for the heads up. We'll update the guide to help avoid this issue. With that being said, I would recommend using the latest alpha version if possible. We likely won't be supporting the 0.27 versions long term once the 1.0.0 versions land and the 1.0.0 alpha versions are not receiving large breaking changes at the moment so they should be relatively safe to begin learning, especially if this is your first introduction to RSocket-js.

The best way to learn the 1.0.0 versions is currently going to be through the examples under packages/RSocket-examples.

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

No branches or pull requests

2 participants