-
-
Notifications
You must be signed in to change notification settings - Fork 539
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
createBunWebSocket and Hono error. server.upgrade
is not a function?
#3013
Comments
hi @Blankeos |
Linux? Windows? Mac? Other? |
Please try to upgrade Bun |
On a mac, I tried a minimal example as well. It actually worked lol. Thanks for the quick reply @EdamAme-x ! The issue was actually because of Vite Custom Dev Server. Was using In any case, I fixed this by using
Works out pretty fine actually. Then in prod, I just reuse them back into a single server with a couple of if statements. :D Let me know if you have other suggestions though. I might just be missing something. Will close the ticket if there's no other solutions besides the workaround. Thanks for the help! |
What version of Hono are you using?
4.4.7
What runtime/platform is your app running on?
Bun
What steps can reproduce the bug?
Bun createBunWebSocket Hono error:
Code:
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: