79765016

Date: 2025-09-15 10:29:39
Score: 1.5
Natty:
Report link

I would like to thank @Harpreet for pointing me in the right direction. As he pointed out Cal.com uses a monorepo structure, so running npx prisma generate --schema=./prisma/schema.prisma
from the repo root will not work.

Tip: Use Git Bash in VS code.

1. Option A: find prisma workspace

cd packages/prisma and then run yarn prisma generate

2. Option B: repo root

Alternatively, from the repo root, you can run this syntax

yarn workspace @calcom/prisma prisma generate

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Harpreet
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ifeanyi Chima