SupabaseS
Supabase5mo ago
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
}


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

I've tried to use
supabase gen types typescript --local
Or supabase gen types typescript --db-url ${DB_URL} but nothing was successful.

Thanks for your help.
Was this page helpful?