server.reload()
causes Uncaught AddrInUse: Address already in use (os error 98)
when runnign on deno.
#29
Labels
bug
Something isn't working
What version of Elysia is running?
1.2.12
What platform is your computer?
Linux 5.15.167.4-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
Given the following:
deno.json
main.ts
When running the server, we get the following error:
However, the port is not actually in use.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
This appears to be happening because we are re-creating the server too soon here: https://github.com/elysiajs/node/blob/main/src/index.ts#L411 when the server may have not fully closed.
Have you try removing the
node_modules
andbun.lockb
and try again yet?N/A
The text was updated successfully, but these errors were encountered: