From 45cd9de7733dae36639caa41ac97a8efdcfd5439 Mon Sep 17 00:00:00 2001 From: Chitraksh Maheshwari <68012660+chitrakshbotwala@users.noreply.github.com> Date: Sun, 26 Nov 2023 13:00:30 +0530 Subject: Update README.md (#104) * Update README.md some people get this error when hosting on vercel so yes * Update README.md --------- Co-authored-by: Factiven --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7c79382..3abbb59 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,10 @@ https://your-website-domain/api/auth/callback/AniListProvider ```bash npx prisma migrate dev npx prisma generate + +### NOTE +# If you get a vercel build error related to prisma that says prisma detected but no initialized just change the following line in package.json line number 8 +"build": "next build" to > "build": "npx prisma migrate deploy && npx prisma generate && next build" ``` 6. Start local server : -- cgit v1.2.3