Skip to content
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

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

Open
jgable opened this issue Nov 29, 2024 · 0 comments

Comments

@jgable
Copy link

jgable commented Nov 29, 2024

Repro:

  • Setup a new project using pnpm init
  • Add "packageManager": "[email protected]", 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

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