Error when building package that uses Prisma types
as i run my tsup build command, i get this error coming from generated prisma folder
this error occurs when tsup generates DTS
the type i export with my package is
(if i do not include this package in the exported index.ts, it all works)
5 Replies
You selected the carefully hand-crafted route. A dev artisan will respond soon. Meanwhile, the
#ask-ai channel awaits if you're curious!here's the full error
Is this happening in the latest prisma version 6.12.0?
I guess if I move to the latest version, the error will be gone, lemme check
thanks it did work
Thanks for checking! I am glad to hear that it worked 🙌