Skip to content

"Cannot find prisma-client-js generator in the schema" when using prisma-client #2098

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

Open
platon-ivanov opened this issue Apr 27, 2025 · 0 comments

Comments

@platon-ivanov
Copy link

Description and expected behavior

With a setup like this:

generator client {
    provider = "prisma-client"
    previewFeatures = ["fullTextSearchPostgres"]
    output       = "../client"
    moduleFormat = "esm"
}

generate throws with

⌛️ ZenStack CLI v2.14.0, running plugins
✔ Generating Prisma schema
✖ Generating PrismaClient enhancer
Prisma Enhancer: Cannot find prisma-client-js generator in the schema

Environment:

  • ZenStack version: 2.14.0
  • Prisma version: 6.6.0
  • Database type: Postgresql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant