netlify-templates / kpop-stack

Create a Remix app with Netlify, Tailwind, TypeScript and more!
https://kpop-stack.netlify.app
241 stars 65 forks source link

Sign up not working #101

Open Tarekkharsa opened 1 year ago

Tarekkharsa commented 1 year ago

when I try to Sign up after deploy the app I got an error

Screen Shot 2022-10-18 at 6 47 00 PM
maxcell commented 1 year ago

Just for some context, did you make sure to perform the Supabase Queries so far for setting up the database too? If so, could you deactivate the RLS for me?

Tarekkharsa commented 1 year ago

Yes and I try another way to auth I use indie stack and it's the same issue

indie stack: https://tarekkharsa.netlify.app kpop-stack: https://wondrous-lollipop-d7ed35.netlify.app I'm sorry What you mean by "deactivate the RLS"

note: I follow this tutorial from netlify => https://www.youtube.com/watch?v=SrZIBM3OJKY

no-name-max commented 1 year ago

I ran into the same issue. Removing double quotes from the env vars fixed it for me because there were extra quotes being passed into the Supabase request.

Screen Shot

ricardasjak commented 1 year ago

I ran into same or similar issue, seems that Profile table was not created on my Supabase project by default. And this is an error related to absence of profile data.

TypeError: Cannot read properties of null (reading 'id')
    at action5 (/Users/rij/Projects/misc/nebula-remix-n/app/routes/join.tsx:77:18)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)