supabase-js icon indicating copy to clipboard operation
supabase-js copied to clipboard

Failed to build application due to Lint error

Open vijaemanlapaz opened this issue 10 months ago • 1 comments

My application failed to build because I'm getting the following lint error. please help image

vijaemanlapaz avatar Jan 11 '25 06:01 vijaemanlapaz

Hey @vijaemanlapaz

In order to help you it would be helpful to know:

  1. Did you upgraded supabase-js recently ? From which version to which version ?

  2. This seems like a type issue, it would be useful to get a report like the one mentioned here so we can debug and reproduce:

Please include:

  1. The generated Database type used to instantiate the client (e.g., createClient<Database>(process.env.SUPABASE_URL, process.env.SUPABASE_ANON_KEY)). If possible a minimal SQL declaration resulting in such Database type.
  2. The query where type inference failed (e.g., .from('which-table').select('which-query')).
  3. Your TypeScript version (npx tsc -v).

avallete avatar Jan 20 '25 08:01 avallete