Comments (11)
Oh interesting, this is super helpful!! Thank you so much @Dax911!
from kpop-stack.
Howdy @LukeXF! Oh dang that's a small set of stack trace, so it might take me a bit to figure out what it could be. Thank you for letting me know you put all the environment variables in. Just wanted to check, did you also make sure to perform the migrations to the Supabase database under https://github.com/netlify-templates/kpop-stack#database in the SQL Queries drop down
Here's the screenshot of the section from the README:
from kpop-stack.
Also running into this. I'm fairly confident I did it correctly, I even deleted the whole database and followed the instructions step by step.
from kpop-stack.
@Dax911 Could you try to turn off the RLS policies and try again for me? It will say "Disable RLS" instead of where mine says "Enable RLS"
from kpop-stack.
Standby.
from kpop-stack.
No same issue... just to confirm SUPABASE_ANON_KEY is anon public, and SESSION_SECRECT is JWT secret?
from kpop-stack.
The SUPABASE_ANON_KEY
is the anon public yup! But the SESSION_SECRET
is actually whatever you'd want it to be, but you can also use the JWT Secret if you'd want! The SESSION_SECRET
is for the Remix app to essentially do a hashing for the session storage but not actually from Supabase.
I forgot to indicate to also update the profiles
policies and make sure that it is also disabled, if that doesn't make it work then I will keep investigating!
from kpop-stack.
OHHHHH should have prob read that part of the code... would have seen that huh... I am trying one more time w a new db. Standby.
from kpop-stack.
Ok I figured it out... If there is anything here from a previous db even if you overwrote it there are still migrations and schema information in the supabase tables. This is what is throwing the error it amounts to incompatibility. Just delete the supabase project and try again. Do not try and clean up an old project. The RLS stuff was a non issue upon starting the new new project.
from kpop-stack.
I ran into a similar error. If you go to your Netlify project select "Functions" and select "server" you should be able to see logs that include the failed requests. I posted a potential solution here: #101 (comment)
from kpop-stack.
I got the same issue as Dax911. No need to delete the entire supabase project, deleting the existing users was sufficient:
This is assuming you've correctly set the SUPABASE_URL
, SUPABASE_ANON_KEY
, SESSION_SECRET
and have added the queries from the readme.
from kpop-stack.
Related Issues (20)
- Sign up not working HOT 4
- Gatita
- RLS doesn't work out of the box
- Upgrade to React 18 support with hydrateRoot HOT 8
- Hhhh
- Nhatnguyen
- Kkkk
- -
- Runtime.HandlerNotFound: server.handler is undefined or not exported
- Issue with creating user, cannot read properties of null HOT 7
- Adds maintenance tooling
- npx create-remix --template netlify-templates/kpop-stack is not working HOT 3
- Improve DX for local development
- Improve the initial infrastructure for the database HOT 2
- Dependency Dashboard
- Issue with Tailwind on a fresh install HOT 4
- How to setup RLS? HOT 4
- Mac M1 Issue with puppeteer HOT 1
- Question: What build script should i tell netlify to use? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kpop-stack.