Skip to content

npx zenstack generate fails to run Prisma plugin on Windows 10 only #614

Description

@SadmanYasar

This is the repository where I am using Zenstack: https://github.com/SadmanYasar/proptory-webapp-nextjs

After running npx zenstack generate, I get the following:

⌛️ ZenStack CLI v1.0.0-beta.13, running plugins
⠋ Running plugin PrismaEnvironment variables loaded from .env
Error: Provided --schema at C:\\Users\\PC\\Desktop\\Web doesn't exist.
✖ Running plugin Prisma
Prisma: Failed to run "prisma generate"

Running npx prisma generate separately works fine. This issue is resolved when I ran this repository on Github Codespaces with Ubuntu.

Environment

  • ZenStack version: v1.0.0-beta.13
  • Prisma version: ^5.0.0
  • Database type: Postgresql

Additional context
Problem only exists on Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions