P
Prisma•8mo ago
TW

error TS2339: Property 'riskRegister' does not exist on type 'PrismaClient<{ log: "query"[]; }, neve

Hello team, I am new in Prisma ORM, I am currently working on the project where I use NodeJs to build backend, locally I used Docker as my db, when I deploy for development (to allow other devs to test the API) I used render for deployment and database I created on Render Postgres, first when I was working on user model, everything went fine but when I push other feature and deploy, I got the error shown on the screenshot but locally everything is working fine. Please help me on how to solve the issue.
No description
3 Replies
Nurul
Nurul•8mo ago
Is prisma generate command part of your build step? I assume you would have added riskRegister field recently but your generated PrismaClient won't have that field
TW
TWOP•8mo ago
Seems to deploy successfully after I added prisma generate thank you
Nurul
Nurul•8mo ago
I am glad to hear that! 😄

Did you find this page helpful?