[email protected] type error when prismaClient generated at specific folder with "cjs" module type

@Prisma @Prisma AI Help I've been trying to use prisma v6.6.0 with nestjs app and generated to cjs module format but I kept getting type error at runtime
3 Replies
Prisma AI Help
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into #ask-ai if you get antsy for a second opinion!
Nurul
Nurul3d ago
Hey @ኃይለኢየሱስ 👋 It looks like you are running into this issue https://github.com/prisma/prisma/issues/26902 This should be fixed in next version 6.7.0 releasing next tuesday.
GitHub
Prisma Client 6.6.0 uses TypeScript features incompatible with `"co...
Bug description When using TypeScript Project References, it is required to set "composite": true as a compilerOption in the tsconfig.json file: Referenced projects must have the new comp...

Did you find this page helpful?