Skip to content

Postinstall script fails to run prisma generate when using pnpm in "packageManager" package.json field #21

@jgable

Description

@jgable

Repro:

  • Setup a new project using pnpm init
  • Add "packageManager": "pnpm@9.5.0", to package.json
  • Run pnpm i @interval/server
  • Get error when trying to run yarn prisma generate in postinall script

UsageError: This project is configured to use pnpm because (...)package.json has a "packageManager" field

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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