Comments (9)
I hope it's fine for you ;)
Feel free to reopen if you still have an issue.
from supa-fly-stack.
Any chance you already have a user with email [email protected] in auth dashboard? (maybe you already try to seed and try again?)
Something goes wrong in the script and it hides supabase error 😅. will try to test asap ;)
from supa-fly-stack.
nope, no users at all, either in public/users or auth/users
However, I see a ts error in seed.server.ts:
Module '"@prisma/client"' has no exported member 'PrismaClient'.
from supa-fly-stack.
I’m far from my computer, but you can try to add a .catch(console.error) line 31 of https://github.com/rphlmr/supa-fly-stack/blob/main/app/database/seed.server.ts
Should tell you what happen.
Or, stil in line 31, next to data, you can destruct "error" and log it.
from supa-fly-stack.
const newUserId... returns 'fetch failed'
AuthRetryableFetchError: fetch failed
at /Users/kojo/kod/Egna/YouWish/youwish_app/node_modules/@supabase/gotrue-js/src/lib/fetch.ts:33:12
at Generator.next (<anonymous>)
at /Users/kojo/kod/Egna/YouWish/youwish_app/node_modules/@supabase/gotrue-js/dist/main/lib/fetch.js:8:71
at new Promise (<anonymous>)
at __awaiter (/Users/kojo/kod/Egna/YouWish/youwish_app/node_modules/@supabase/gotrue-js/dist/main/lib/fetch.js:4:12)
at handleError (/Users/kojo/kod/Egna/YouWish/youwish_app/node_modules/@supabase/gotrue-js/src/lib/fetch.ts:30:78)
at /Users/kojo/kod/Egna/YouWish/youwish_app/node_modules/@supabase/gotrue-js/src/lib/fetch.ts:121:25
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
__isAuthError: true,
status: 0
}
from supa-fly-stack.
I have push a better error handling in seed script.
Shadow DB is no more required if you just have created a Supabase project, so I have also remove this part.
The error you linked says that fetch failed (the Supabase SDK internal fetch). Could be a temporary issue from Supabase?
- Status "0" seems related to a network issue :s
PS : I can't reproduce from a fresh install :/
from supa-fly-stack.
from supa-fly-stack.
If it's just a new project, easiest is to delete it and recreate 😅
Or keep it and just remove the env in the prisma file like the commit i did.
from supa-fly-stack.
Alright, thanks!
from supa-fly-stack.
Related Issues (20)
- Can we define Supabase RLS with Prisma? or somehow with this stack? HOT 6
- Possible issues with Cypress mocking? HOT 7
- Debugging / Sourcemaps? HOT 5
- Question - JWT Token Expiring Error When Querying Supabase Directly HOT 11
- Auth Oddities / Vulnerabilities HOT 3
- Add i18n translation
- Support supabase-js v2 & future of this stack HOT 7
- LICENSE file HOT 3
- Feature : replace hand-crafted auth things with Supabase Remix's package ? HOT 3
- Access token refresh not working HOT 5
- Error: db error: ERROR: canceling statement due to statement timeout
- Handle password recovery for email/password HOT 4
- Question: Magic link is not working as expected HOT 7
- V3 is coming HOT 7
- Realtime HOT 3
- Be sure it works with Remix v2 HOT 1
- Error installing dependences on Ubuntu 22.04 HOT 1
- remix.init script failed HOT 9
- Some tests are broken 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 supa-fly-stack.