Great video by the legend himself! By the way quick question: as 22:05 can you not just import the type from @prisma/client and use it? It would be better to help reduce duplication
Hi 👋🏽 What's the platform you're running on? You can explicitly set the binartyTargets in your Prisma schema to ensure it's generated before you deploy your app. Here's the docs on binaryTargets: www.prisma.io/docs/reference/api-reference/prisma-schema-reference#binarytargets-options
Great video by the legend himself!
By the way quick question: as 22:05 can you not just import the type from @prisma/client and use it? It would be better to help reduce duplication
Beast mode.
How to deploy express typescript prisma project on cpanel?????
Hi 👋🏽
What's the platform you're running on? You can explicitly set the binartyTargets in your Prisma schema to ensure it's generated before you deploy your app.
Here's the docs on binaryTargets: www.prisma.io/docs/reference/api-reference/prisma-schema-reference#binarytargets-options