Elysia 2.0.0-beta.6 - Vercel - Error: Cannot find module 'typebox/type'
Author: codlerCreated Aug 22, 2026Updated Aug 24, 2026
Labelsbug
What version of Elysia is running?
Elysia 2.0.0-beta.6
What platform is your computer?
No response
What environment are you using
Vercel
Are you using dynamic mode?
no
What steps can reproduce the bug?
Make a GET request in Vercel env
What is the expected behavior?
no error
What do you see instead?
Im getting this error message in Vercel when making a request
Error: Cannot find module 'typebox/type'
Require stack:
- /var/task/node_modules/elysia/dist/type/typebox-type.mjs
at <unknown> (../../opt/rust/nodejs.js:2:14275)
at Module.vo (../../opt/rust/nodejs.js:2:14653)
at e.<computed>.ut._load (../../opt/rust/nodejs.js:2:14245) {
code: "MODULE_NOT_FOUND",
requireStack: [
0: "/var/task/node_modules/elysia/dist/type/typebox-type.mjs"
]
}
### Additional information
_No response_
### Have you try removing the `node_modules` and `bun.lock` and try again yet?
_No response_Source: elysiajs/elysia