Application breaks when adding .$extends to prisma initialziation
when I add the following line
.$extends(unitNameFormattingExtension());
to the file where I initilize prisma, the app breaks with the error PrismaClient is unable to run in this browser environment
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.200 Replies