Application breaks when adding .$extends to prisma initialziation
when I add the following line
to the file where I initilize prisma, the app breaks with the error
Here's the full code:
Could anyone help me with understanding what i'm doing wrong, or what am I not understanding?
As soon as I remove the $extend line it works perfectly fine.
Prisma is up to date with version 5.20
.$extends(unitNameFormattingExtension());to the file where I initilize prisma, the app breaks with the error
PrismaClient is unable to run in this browser environmentHere's the full code:
Could anyone help me with understanding what i'm doing wrong, or what am I not understanding?
As soon as I remove the $extend line it works perfectly fine.
Prisma is up to date with version 5.20
