I have figured it out.
On the current stable channel the prisma-engines
is in version 5.22. My @prisma/client
was in version 6.1.0. This mismatch causes issues with prisma client. Downgrading to 5.22, removing package-lock.json and node_modules and installing everything again (inside the developement repository) worked.
For anyone curious, at the time of wiritng, latest unstable prisma-engines is in version 6.0.1.