You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@julimancan have you been able to fix this issue? if not can you provide your (simple) schema? in the screenshot it looks like there is a newer version of prisma client installed than you use in your package.json..
Yes I was going through the different issues and saw some incompatibility issues which led me to try different versions of prisma but I keep getting the same errors. `model User {
id String @id@unique
firstName String
lastName String
hasImage Boolean @default(false)
image String?
address1 String?
address2 String?
city String?
stateProvince String?
postalCode String?
country String?
email String @unique
phone String?
businessName String?
instagramHandle String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
role Role @default(VENDOR)
}
enum Role {
ADMIN
VENDOR
}`
and yes this is my schema
When deploying to vercel getting build error:
this is my package.json:
"@prisma/client": "5.1.1",
"prisma": "5.1.1",
"zod": "3.21.1",
"zod-prisma-types": "^2.7.7",
I just have a user model and I don't get any errors in localhost when I run npm run build or dev. Any idea what could be going wrong?
The text was updated successfully, but these errors were encountered: