Open hfabio opened 1 year ago
Yeah had same issue with my restify server
Potentially fixed as part of https://github.com/oven-sh/bun/issues/4593, but it hasn't been released yet
Might be worth revisiting if this issues still exists when the associated fix is released
Edit: error still present with 1.0.2 which includes the PR mentioned
version 1.04 still not working
(base) hfabio in orchestrator on feature/convert-to-bun [!]
↳ bun -version
1.0.4
(base) hfabio in orchestrator on feature/convert-to-bun [!]
↳ bun --revision
1.0.4+745b6b94ee56cad24d475799690cc9a89957d15b
Having the same issue trying to run rest servers. Lot of people would love to use bun with a restify dependency.
Any update on this? It's still present with 1.0.14.
It's still present with 1.0.16.
It's still present with 1.1.2.
This prevents this package from working: https://www.npmjs.com/package/spdy
It's still present with 1.1.20.
What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
What platform is your computer?
Linux 5.15.90.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
create an Api using restify in Bun.
those are the dependencies related to restify:
and this is an example code:
What is the expected behavior?
to create a working http server.
What do you see instead?
this is the error I get:
Additional information
debugging my project it only happens when running the restify, socket.io works fine and my project code as well, so probably it is something related to the way restify implements something under the hood