ReferenceError: __dirname is not defined in ES module scope
I am using Prisma Client with SvelteKit and I am getting this error on builds/preview. I have tried looking up solutions but I could not find a solution. I saw someone saying it should be fixed in Prisma 6.7. Is this true? This issue is preventing my application from working once it is built.
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
P
Prisma
The official Discord server of Prisma! Find us online at prisma.io