Prisma generate option --allow-no-models doesn't work. #24737
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
domain/client
Issue in the "Client" domain: Prisma Client, Prisma Studio etc.
kind/bug
A reported bug.
Milestone
Bug description
npx prisma generate --allow-no-models
doesn't work inv5.16
. It works inv5.15
How to reproduce
Repository
https://github.com/MansurAliKoroglu/prisma-bug
Steps
npm i
to install packages.npx prisma generate --allow-no-models
and see it doesn't workpackage.json
file and change prisma packages to version5.15.0
npm i
to install packages.npx prisma generate --allow-no-models
and see it works.Expected behavior
It should work in
v5.16
too.Prisma information
No code needed.
Environment & setup
OS: Kubuntu 22.04
Node: 20.15.0
Prisma Version
5.16
The text was updated successfully, but these errors were encountered: