at /app/node_modules/elysia/dist/index.mjs:4989:26
at /app/src/index.ts:171:3
Additional information
Running the app on my MacBook works just fine. when I try to run the app from my server I get the error. I tried looking into bun issues and some pointed out it might be because of old kernel version which isn't my case.
What version of Elysia.JS is running?
1.0.26
What platform is your computer?
Linux 5.15.0-113-generic x86_64 x86_64
What steps can reproduce the bug?
I run my Elysia app both with and without docker on my server but I get the following error type error.
What is the expected behavior?
🦊 Elysia is running at:
What do you see instead?
Bun v1.1.17 (Linux x64 baseline) 4984 | }, 4985 | port: options, 4986 | fetch, 4987 | error: this.outerErrorHandler 4988 | }; 4989 | this.server = Bun?.serve(serve); ^ TypeError: 湕捩摯潨瑳慮敭畭瑳愠牬慥祤戠湥潣敤潦潮渊睥唠䱒椨灮瑵⸩潨瑳慮敭猠潨汵潤琠敨琠楲正.敒摡扡敬瑓敲浡椠湩椠癮污摩猠慴整.湉整湲污挠湯楳瑳湥祣攠牲牯›慷捴敨畭整⁸獩氠捯敫桷湥椠 code: "ERR_INVALID_ARG_TYPE"
Additional information
Running the app on my MacBook works just fine. when I try to run the app from my server I get the error. I tried looking into bun issues and some pointed out it might be because of old kernel version which isn't my case.