Closed bogeychan closed 1 month ago
I have exactly the same problem but I'm not referencing TypeSystem
anywhere. However I do have many TypeBox imports all using Elysia references. Should I swap out everything for TypeBox equivalents?
I renamed my other type-system resources and I think the app is working but I need to check thoroughly.
From:
import { TypeCompiler } from 'elysia/type-system'
import type { TypeCheck } from 'elysia/type-system'
to:
import { TypeCompiler } from '@sinclair/typebox/compiler'
import type { TypeCheck } from '@sinclair/typebox/compiler'
What version of Elysia.JS is running?
1.1.1
What platform is your computer?
WSL Ubuntu
What steps can reproduce the bug?
What is the expected behavior?
no error
What do you see instead?
Additional information
this used to work back in
1.0.23
reported on discord
as a workaround you can
bun add @sinclair/typebox
and useimport { TypeSystem } from "@sinclair/typebox/system";
instead