-
-
Notifications
You must be signed in to change notification settings - Fork 11
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(FILE.EXTENSION): SyntaxError: Unexpected end of JSON input #105
Comments
I'm going to replace the internal socket module with ws, I think it can fix your error |
Thought that I would mention that since v3.6.6...v3.6.8 has moved over to the The (Bun Specific) Patch: https://gist.github.com/Zendrex/43624347a198487b8fb361065264c044 At this point in time, I spent all of 5 minutes doing this just to test simple functionality. |
Worth mentioning that Also, Bun does have fine https/http support, however when it comes to decompression it doesn't, but only NodeLink by default has compression enabled Also with the change to ws it works as it utilizes uWebSocket, not ws. |
This is true, and the patch I put above was 100% a lazy hack to get it working strictly with the latest version of bun at time of writing which is 1.1.6. The reason being is that moonlink actually fails with the current implementation in I haven't tested with earlier version myself but from what I've read, it may be resolved by downgrading to 1.1.3 as referenced in oven-sh/bun#7248
I shoulda clarified further, but yes this is the case. Edit: To clarify, I'm not suggesting that any changes are made to moonlink as of right now since the lack of HTTP/2 support, however for my use case, it does the job. |
Oh, right. Although Lucas could easily implement those by checking if |
I don't plan to make this change in v3 of moonlink, this will be in the rewrite |
Description of the problem
When using the play command, the messages are sent but the music does not start playing and these errors appear:
Excuse me if it is an error in my code.
Step by Step
I'm running this command:
and this returns:
Package Version
3.6.4
First of all, please confirm:
The text was updated successfully, but these errors were encountered: