ReferenceError: __dirname is not defined
Okay this is a general code question I just wanna ask since I cannot get answers elsewhere.
So I'm using Prisma V4.15.0 and Bun, but for some reason I'm getting a
ReferenceError: __dirname is not defined
when dealing with checkpoint-client package (specifically at eval("__dirname")
which was probably installed alongside Prisma.
I've thought of that module probably being imported as ESM instead of CJS. Is there any way to force it to import as CJS or is this a dependency issue?4 Replies
Project ID:
N/A
N/A
unfortunately these threads are intended for help with the railway platform, I'm sure you will be able to find your answer on maybe a different general purpose programming discord server or maybe a bun server!
yeah i figured thanks Brody