epicweb-dev / epic-stack

This is a Full Stack app starter with the foundational things setup and configured for you to hit the ground running on your next EPIC idea.
https://www.epicweb.dev/epic-stack
MIT License
4.47k stars 368 forks source link

Create an account button shows error but should not #671

Closed fredericrous closed 6 months ago

fredericrous commented 6 months ago

Reproduction workflow

  1. setup the project without database seed:

    • clone the project
    • cd to the cloned folder
    • cp .env.example .env
    • npm install
    • setup without seed: npx prisma generate && npx prisma migrate deploy
    • npm run dev
  2. then, connect with github:

    • click the login with github button
    • get automatically redirected to /onboarding/github?redirectTo=%2Flogin
    • notice the status on the button tells the user there is an error but there is none
image
kiliman commented 6 months ago

Seed data is required for the Epic Stack to function correctly. It creates the roles and permissions needed for account creation.

I'm unsure why you would not want to run the setup process.

kentcdodds commented 6 months ago

The seed data is no longer required for the Epic Stack to function. We seed roles and permissions in the migrations.

Help is wanted to investigate what's going on here.

kentcdodds commented 6 months ago

Thanks @rustworthy!!