prisma2 generate
tries to install @prisma/photon
even in folder without package.json
#1147
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
topic: cli
topic: prisma generate
CLI: prisma generate
Milestone
I created a project by creating a folder and copying a
prisma/schema.prisma
into it. Then I ranprisma2 generate
to see what would happen:Seems it found a
node_modules
folder 2 levels up, where it then installed both Photon and also generated the client. Not sure if this is good behaviour.The text was updated successfully, but these errors were encountered: