PrismaP
Prisma10mo ago
3 replies
undefined

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.
Was this page helpful?