-
-
Notifications
You must be signed in to change notification settings - Fork 696
[TRI-5172] Compatibility with Prisma 6.6+ #1926
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
Comments
Correct, you explicitly don't add the trigger.dev/packages/build/src/extensions/prisma.ts Lines 186 to 190 in 0b2eb34
i think this should fix it:for schema folder:
for schema file
|
@mfts as a workaround for now, you can specify the path to the prisma schema in your package.json like this: "prisma": {
"schema": "prisma/schema"
} |
@ericallam ok cool. I'll try that. |
It looks like our extension is going to need some extensive updates to fully support Prisma 6.6.0:
|
For anyone running into issues with
|
In Prisma 6.6.0+ they require an
output
path and no longer generate the Prisma client innode_modules
.Details here.
This is going to cause problems with our official prisma extension which was built to deal with the old way.
It seems like the way to fix this would be to do this from their docs:
We don't pass the --schema for folders right now I don't think
TRI-5172
The text was updated successfully, but these errors were encountered: