npx prisma@{version} generate
does not pass the given version to generators when prisma is installed in the working directory
#10573
Labels
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: prisma generate
CLI: prisma generate
Bug description
If you explicitly pass the version to npx, e.g.
npx prisma@3.4.0 generate
while already having the CLI installed in the current directory, e.g.How to reproduce
https://github.com/RobertCraigie/prisma-npx-version-reproduction
Expected behavior
The generator should be given the
3.4.0
versionPrisma information
See reproduction.
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: