© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
4 replies
ant243

Cannot generate types for local setup

Hi ! I've just started exploring Supabase and I've launched it locally. But I cannot generate types using the CLI tool. It's showing the message
Failed to end the connection on error : {
this: PostgresMetaTables { query: [AsyncFunction: query]},
end: undefined
}
Failed to end the connection on error : {
this: PostgresMetaTables { query: [AsyncFunction: query]},
end: undefined
}


And at the end,
Error: The server does not support SSL connections
Error: The server does not support SSL connections


I've tried to use
supabase gen types typescript --local
supabase gen types typescript --local

Or
supabase gen types typescript --db-url ${DB_URL}
supabase gen types typescript --db-url ${DB_URL}
but nothing was successful.

Thanks for your help.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Generate types
SupabaseSSupabase / help-and-questions
7mo ago
Local Supabase Setup
SupabaseSSupabase / help-and-questions
4mo ago
Supabase Local Setup
SupabaseSSupabase / help-and-questions
6mo ago
how to generate types in ci for branches?
SupabaseSSupabase / help-and-questions
7mo ago