I tried the new CLI to generate types from a URL wit this command
supabase gen types typescript --db-url https://xxx.supabase.co
supabase gen types typescript --db-url https://xxx.supabase.co
and this is the error I received:
supabase gen types typescript --db-url https://xxx.supabase.coError: node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */); ^[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<Object>".] { code: 'ERR_UNHANDLED_REJECTION'}
supabase gen types typescript --db-url https://xxx.supabase.coError: node:internal/process/promises:279 triggerUncaughtException(err, true /* fromPromise */); ^[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<Object>".] { code: 'ERR_UNHANDLED_REJECTION'}
Did I do something wrong? FYI, Docker is running and if I run supabase start it works locally as expected.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.