Skip to content

Conversation

scewdoosh
Copy link

@scewdoosh scewdoosh commented Sep 8, 2025

PR Fixes:

When setting up the project locally on Windows, running yarn prisma db seed fails with a PrismaClientInitializationError because the Prisma Client is not yet generated.

Adding an explicit yarn prisma generate step before running migrations resolves the issue.

Changes made:
Updated Windows setup instructions in README to include yarn prisma generate before yarn prisma migrate dev and yarn prisma db seed.

Why:

  1. Prevents "stale Prisma Client" errors for new contributors.
  2. Ensures a smoother onboarding experience when cloning the repo fresh.

Checklist before requesting a review

  • I have performed a self-review of my code
  • I assure there is no similar/duplicate pull request regarding same issue

README diff

-yarn prisma migrate dev
-yarn prisma db seed
+yarn prisma generate
+yarn prisma migrate dev
+yarn prisma db seed

@scewdoosh scewdoosh closed this Sep 8, 2025
@scewdoosh scewdoosh reopened this Sep 8, 2025
@scewdoosh scewdoosh changed the title docs: added missing prism generate step to the Windows setup added missing prism generate step to the Windows setup Sep 8, 2025
@scewdoosh scewdoosh changed the title added missing prism generate step to the Windows setup added missing prism generate step to the Windows setup (updated read me) Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant