prisma generate error #6524
-
{
"version": 2,
"name": "team-vv-back",
"installCommand": "pnpm install",
"buildCommand": "pnpm build:back",
"builds": [
{
"src": "packages/back/dist/index.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "packages/back/dist/index.js",
"methods": ["GET", "POST", "PUT", "DELETE"]
}
],
"env": {
"PORT": "80"
}
}
The monorepo configuration has back, utils, and database. When deployed with the cli, the Logs-Function produces the following logs [31m[Nest] 7 - [39m11/21/2023, 2:25:55 AM [31m ERROR[39m [38;5;3m[ExceptionHandler] [39m[31m@prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.I am using nestJs and PrismaOrm. I referenced this https://turbo.build/repo/docs/handbook/tools/prisma What's the problem? Translated with www.DeepL.com/Translator (free version) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
were you able to resolve this issue? |
Beta Was this translation helpful? Give feedback.
-
|
Hi, this does not appear to be a problem with Turborepo. Can you create a Discussion in https://vercel.community/ and discuss with folks there. Thank you! |
Beta Was this translation helpful? Give feedback.
Hi, this does not appear to be a problem with Turborepo. Can you create a Discussion in https://vercel.community/ and discuss with folks there. Thank you!