© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago
IkiTg07

Typescript type gen errors

Hello, I've been using supabase typescript generator for a while and didn't have any issue. Today I added a new enum type and a new table in my schema and sice then gen types is broken.

supabase gen types typescript --project-id "my-project-id" --schema smwknd > config/supabase-types.ts
supabase gen types typescript --project-id "my-project-id" --schema smwknd > config/supabase-types.ts


What is worth noting is that my enums are on public schema but it never caused a problem before.
SCR-20231219-hvzv.png
SCR-20231219-hvxa.png
SCR-20231219-hwyz.png
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,729Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

supabase gen type typescript error running container
SupabaseSSupabase / help-and-questions
4y ago
npx supabase gen types typescript broke
SupabaseSSupabase / help-and-questions
4mo ago
Incorrect typescript type generation
SupabaseSSupabase / help-and-questions
13mo ago
Gen incorrectly marking column type as `unknown`
SupabaseSSupabase / help-and-questions
4y ago