-
- Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
Bug Description
I encountered a critical error when initializing a new ZenStack project using npx zenstack@latest init.
It appears that Prisma released v7.0.0 recently. The ZenStack init script automatically installs the latest version of Prisma (v7), which introduces ESM changes that seem incompatible with the current ZenStack generator or dependencies (specifically related to zeptomatch and @prisma/dev).
This results in an ERR_REQUIRE_ESM error immediately during the generation phase.
Steps to Reproduce
Create an empty project directory.
Run npx zenstack@latest init.
Observe that it installs prisma@7.0.0.
The command fails at the Generating Prisma schema step.
Metadata
Metadata
Assignees
Labels
No labels