You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Admittedly, our setup is unconventional. As we wanted the eden types to be usable by people who don't have access to our server's repository, we have the types built by the server then sent to the repo. This works (and correctly typed) on the client when running the next dev server, as well as passing linting by intellij, but fails linting when being built.
const{ vg }=newVoyageSDK()constserver=vg.server.describeServer.get()// ^? returns { availableUserDomains: [], ...} fine, with IDE typing// but building fails indicating no Elysia installed, even though it is.
Build using next build
What is the expected behavior?
No response
What do you see instead?
Type error Property 'pack' does not exist on type '"Please install Elysia before using Eden" & { supabase?: SupabaseClient<any, any, any> | undefined; }'.
IntelliJ linting reports:
Additional information
elysia-autoload is being used as well, but don't believe its an issue there
Have you try removing the node_modules and bun.lockb and try again yet?
Yes
The text was updated successfully, but these errors were encountered:
What version of Elysia is running?
1.1.24
What platform is your computer?
Microsoft Windows NT 10.0.26120.0 x64
What steps can reproduce the bug?
Admittedly, our setup is unconventional. As we wanted the eden types to be usable by people who don't have access to our server's repository, we have the types built by the server then sent to the repo. This works (and correctly typed) on the client when running the
next dev
server, as well as passing linting by intellij, but fails linting when being built.next build
What is the expected behavior?
No response
What do you see instead?
Type error
Property 'pack' does not exist on type '"Please install Elysia before using Eden" & { supabase?: SupabaseClient<any, any, any> | undefined; }'.
IntelliJ linting reports:
Additional information
elysia-autoload is being used as well, but don't believe its an issue there
Have you try removing the
node_modules
andbun.lockb
and try again yet?Yes
The text was updated successfully, but these errors were encountered: