Mykyta Machekhin
02/08/2021, 8:08 AMnpm i --save-dev prisma
npm i @Prisma/client
. But still have 2.15 version. Why can this happen?Kha
02/08/2021, 8:17 AMnpm i --save-dev prisma@latest
and npm i @prisma/client@latest
Kha
02/08/2021, 8:19 AMnpm update <package name>
insteadMykyta Machekhin
02/08/2021, 8:21 AMMykyta Machekhin
02/08/2021, 8:22 AMcreateMany
, which is available in 2.16 still missingnikolasburk
createMany
in the previewFeatures
flag of your Prisma Client generator
in order to use createMany
🙂
generator client {
provider = "prisma-client-js"
previewFeatures = ["createMany"]
}
Mykyta Machekhin
02/08/2021, 8:34 AMnikolasburk
@prisma/cli
package as well? Maybe somehow the old Prisma CLI is invoked 🤔Mykyta Machekhin
02/08/2021, 8:46 AMnpm install
nikolasburk
@prisma/cli
in your devDependencies
then something seems fishy 🤔 do you mind creating an issue here so that we can try to reproduce the error? 🙏Mykyta Machekhin
02/08/2021, 8:54 AM