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

bug: bun didn't work in version 2.3.6 (but work in v2.2.1) #86

Open
remove158 opened this issue Dec 17, 2024 · 1 comment
Open

bug: bun didn't work in version 2.3.6 (but work in v2.2.1) #86

remove158 opened this issue Dec 17, 2024 · 1 comment

Comments

@remove158
Copy link

Problem

i got error the error below ( in v2.3.6)

511 |         this.reconnectAttempts = 1;
512 |         this.info = await this.fetchInfo().catch(() => null);
513 |         if (!this.info && ["v3", "v4"].includes(this.version)) {
514 |             const errorString = `Lavalink Node (${this.poolAddress}) does not provide any /${this.version}/info`;
515 |             throw new Error(errorString);
                        ^
error: Lavalink Node (http://localhost:2333) does not provide any /v4/info

but it is not happen if I fixed the version to v2.2.1

Step to reproduce

  1. init new project with bun
  2. bun i lavalink-client
  3. init LavalinkManager
@EvilG-MC
Copy link
Contributor

I tried to reproduce the error to trace where it comes from, and It seems the error comes from using the structuredClone, which is not used in v2.2.1

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

No branches or pull requests

2 participants