-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ReferenceError: WebSocket is not defined (6.1.0) #3692
Comments
try |
I still get the same error message, can you confirm that the above code works for you? |
yes. it works . |
Hm, still the same issue. Didn't have any problems with 5.x version. |
Happens in Node because the constructor does not check if WebSocket exists before assigning it to the config |
@bbonnet I'll gladly do that, but how exactly? I was able to add your pull request with Yarn, but everything went downhill from there. 😕 |
@krismrp Did you get a specific error when everything went downhill? lol I think you should just be able to pin to that branch and pull it down into your app but I'm not 100% sure |
Yes, #3694 should fix this. Closing this issue. |
RxJS version: 6.1.0
Code to reproduce:
Expected behavior:
Should not error when given a WebSocket constructor.
Actual behavior:
The text was updated successfully, but these errors were encountered: