Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Connection failed: WebSocket is not defined #7

Open
patran opened this issue Aug 23, 2020 · 0 comments
Open

Connection failed: WebSocket is not defined #7

patran opened this issue Aug 23, 2020 · 0 comments

Comments

@patran
Copy link

patran commented Aug 23, 2020

In NodeJS, to get around the message "Connection failed: WebSocket is not defined", I had to make use of global.WebSocket = require('ws');

I don't see that in your sample code. How did you get around the WebSocket is not defined error?

Thanks

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

No branches or pull requests

1 participant