New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prisma Client is incompatible with TypeScript 4.8 #15041
Comments
I have the same issue, and same errors from TS. |
For now, the only way I found to temporarily circumvent this was to use
|
Downgrading TS to 4.7.4 and it will compile. |
Hi! |
@janpio Any chance to backport it as a semver minor for 4.3.0? September 28 is a long time to wait for people wanting to update TS. |
Hey @kibertoad, yes we are going to publish this fix in the upcoming |
Aaaand it's out: https://github.com/prisma/prisma/releases/tag/4.3.1 |
this patch release 🤩 |
Found 68 errors in 4 files. Errors Files |
I am still having issues no matter what version of tsc I use. I've tried different versions of prisma as well. |
Hey @ameshkin can you please open a new issue with some reproduction details? Is it |
Thank you for your reply. I was able to generate my prisma files to a custom folder, and then take out certain things, and change them. I changed userId to any and now it works. But there does seem to be a bug. The error comes up when I do It does appear that making any changes to userId or adding username to sessions breaks things. |
That definitely sounds like a bug we will need to fix. Could you please open an issue and fill in the few details that we will need? Thanks you :) |
here you go |
Bug description
When trying to build prisma-using project with TS 4.8, following errors are thrown:
How to reproduce
Try running
tsc
on a Prisma project with TypeScript 4.8Expected behavior
tsc
successfully compiles projectPrisma information
Schema:
Repository:
Environment & setup
TypeScript 4.8.2
Prisma Version
Prisma 4.2.1
The text was updated successfully, but these errors were encountered: