juniperxxd
Explore posts from serversPPrisma
•Created by Kazaz on 4/10/2025 in #help-and-questions
Prisma 6.6.0 ESM with Nx Monorepo - Typescript type check failures
great, thanks for picking it up! 🙂
22 replies
PPrisma
•Created by Kazaz on 4/10/2025 in #help-and-questions
Prisma 6.6.0 ESM with Nx Monorepo - Typescript type check failures
https://github.com/prisma/prisma/issues/26902 done, sorry it took a bit 🙂 , hope this helps, I'm available for further questions
22 replies
PPrisma
•Created by Kazaz on 4/10/2025 in #help-and-questions
Prisma 6.6.0 ESM with Nx Monorepo - Typescript type check failures
https://github.com/jensmeindertsma/prisma-client-debugging/tree/main absolutely minimal reproduction with documentation can be found here, i hope this helps
22 replies
PPrisma
•Created by Kazaz on 4/10/2025 in #help-and-questions
Prisma 6.6.0 ESM with Nx Monorepo - Typescript type check failures
One must also switch to use
Project References
(https://www.typescriptlang.org/docs/handbook/project-references.html)22 replies
PPrisma
•Created by Kazaz on 4/10/2025 in #help-and-questions
Prisma 6.6.0 ESM with Nx Monorepo - Typescript type check failures
I have figured out the root cause: these type errors appear as soon as one enables
"composite": true
(https://www.typescriptlang.org/tsconfig/#composite) in the tsconfig.json file
22 replies
PPrisma
•Created by Kazaz on 4/10/2025 in #help-and-questions
Prisma 6.6.0 ESM with Nx Monorepo - Typescript type check failures
I'll see what I can do today in terms of a minimal reproduction
22 replies
PPrisma
•Created by Kazaz on 4/10/2025 in #help-and-questions
Prisma 6.6.0 ESM with Nx Monorepo - Typescript type check failures
i ran into typechecking errors with the new generated client, compiling of the application using it with vite (esm) works fine, application performs normal, but ‘tsc’ fails because of the namespaces. when i find some time ill try making a more minimal reproduction but for now i hope they remove these troublesome typescript code in the next release
22 replies
PPrisma
•Created by juniperxxd on 4/9/2025 in #help-and-questions
TypeScript errors with new `prisma-client` generated client
If I can do anything to help debug this further please let me know 😊
8 replies
PPrisma
•Created by juniperxxd on 4/9/2025 in #help-and-questions
TypeScript errors with new `prisma-client` generated client
It looks as it the Prisma Client contains some invalid typescript code
8 replies
PPrisma
•Created by juniperxxd on 4/9/2025 in #help-and-questions
TypeScript errors with new `prisma-client` generated client
times 100000000 in length
8 replies
PPrisma
•Created by juniperxxd on 4/9/2025 in #help-and-questions
TypeScript errors with new `prisma-client` generated client
This looks something like this:
8 replies
PPrisma
•Created by juniperxxd on 4/9/2025 in #help-and-questions
TypeScript errors with new `prisma-client` generated client
Yes, this was working fine. With version 6.5.0 I was using the non-generated client, if I try using 6.5.0 while also setting
output
( also switch back to prisma-client-js
) I ran into the weird problem that the whole client was being printed to the terminal, causing my terminal emulator to quickly run out of memory8 replies