-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Badresource:Bad resource ID ERROR #27859
Comments
Oh my goodness I was just about to report this. There's a npm package called ws that's used in some other npm packages (e.g. xrpl.js, discord.js) as the Websocket library. @littledivy pinging you since you tagged this as "needs investigation" and maybe this comment will help you. If you use it instead of the builtin WebSocket, it completely bombs out. Some test code:
|
seems to have been fixed in #27792 Does upgrading to the latest canary version (which includes that fix) resolve the issue?
|
|
This works for my use case with xrpl.js. I can now run at least some of the sample code. I'll rejoin this convo if the issue comes back as I play with this library. |
@nekodendislike Can you try it with Deno 2.1.4? (you can switch to 2.1.4 by |
Version: Deno 2.1.7
This code thrown an Error…
The text was updated successfully, but these errors were encountered: