-
-
Notifications
You must be signed in to change notification settings - Fork 126
Description
Description and expected behavior
npx zenstack generate --output ./generated/zenstack
Prisma 7 support is untested and not planned. Use with caution.
⌛️ ZenStack CLI v2.22.2, running plugins
Loaded Prisma config from prisma.config.ts.
Prisma config detected, skipping environment variable loading.
Prisma schema loaded from prisma/schema.prisma
Error: Prisma schema validation - (get-config wasm)
Error code: P1012
error: Argument "url" is missing in data source block "db".
--> prisma/schema.prisma:6
|
5 |
6 | datasource db {
7 | provider = "postgresql"
8 | }
|
Validation Error Count: 1
[Context: getConfig]
Prisma CLI Version : 6.19.1
✖ Generating Prisma schema
Prisma: Failed to run "prisma generate"
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- ZenStack version: [e.g., 2.0.0] 2.22.2
- Prisma version: [e.g., 5.7.0] 7.2.0
- Database type: [e.g. Postgresql] Postgresql
Additional context
Add any other context about the problem here.