Closed jacobclarke92 closed 3 months ago
Thanks for letting me know about this breaking change.
You should use our last version with prisma 5.14.
The error you face with to argument you have an issue with your version in pnpm I worked with it and working fine.
When using version 5.14, pnpm installs @prisma/internal version 5.9. Therefore, in my case, fixing the @prisma/internal version as shown below resolved the error. In version 5.15, the same error occurs in paljs 7.0.0.
{
"pnpm": {
"overrides": {
"@prisma/internals": "5.14.0"
}
}
}
Please use the prisma 5.16 and paljs 7.0.1 and will fix that for you
Just a heads up since they added multi-file schema support it looks like the
getSchemaPath
function isn't exported from @prisma/internals anymore.Was getting this error before I realised what was going on, and eventually traced it back to the utils package.
Oddly enough after I downgraded all prisma packages to 5.14.0 (and explicitly installed the internals package to devDeps),
I ended getting a different error message:
I kind of suspect pnpm store shenanigans but am honestly not too sure. Anyway it's still a breaking change that'll need to be updated somehow, am just in the middle of wrapping up a work week but might come have a look later if you want assistance?