© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
2 replies
xamarot

Generating typescript schema not working

Im trying to generate typescript schema to use in my project. I put

npx supabase gen types typescript --db-url postgresql://postgres:postgres@db_url:5432/postgres > ./src/schema.ts
npx supabase gen types typescript --db-url postgresql://postgres:postgres@db_url:5432/postgres > ./src/schema.ts


And after a while stuck on "connecting" I get error "Error: error running container". Why is this?
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

Generating TypeScript types for remote database
SupabaseSSupabase / help-and-questions
4y ago
Supabase Not Working In Node.js TypeScript
SupabaseSSupabase / help-and-questions
4y ago
Auto-Generating Unique Usernames in Supabase Trigger Function Not Working
SupabaseSSupabase / help-and-questions
3y ago
generated typescript types do not match --local with same schema
SupabaseSSupabase / help-and-questions
3y ago