Closed
Description
Description and expected behavior
Since upgrading to version 2.9.0
, I am having a warning during zenstack generate
command.
⠋ Generating Prisma schemaCould not resolve PrismaClient type declaration path. This may break plugins that depend on it.
✔ Generating Prisma schema
✔ Generating PrismaClient enhancer
This happens only in monorepo setup. I initially tried to reproduce in 'plain' repo, but could not.
It is probably related to the fact that I specify custom prisma output directory.
Repro repo: https://github.com/marekryb/zenstack-290-warning
Environment (please complete the following information):
- ZenStack version: 2.9.0
- Prisma version: 5.22.0
- Database type: any (tried sqlite and postgres)
Additional context
I am using pnpm. Did not try with npm or yarn workspaces.
Metadata
Metadata
Assignees
Labels
No labels