Sébastien Dubois
02/04/2021, 11:02 AMRyan
02/04/2021, 11:03 AMSébastien Dubois
02/04/2021, 11:03 AMJoey
02/04/2021, 11:04 AMseed.ts
file inside your Prisma folderJoey
02/04/2021, 11:04 AMSébastien Dubois
02/04/2021, 11:04 AMSébastien Dubois
02/04/2021, 11:05 AMJoey
02/04/2021, 11:05 AMRyan
02/04/2021, 11:05 AMSébastien Dubois
02/04/2021, 11:06 AMJoey
02/04/2021, 11:06 AMJoey
02/04/2021, 11:08 AMprisma db seed --preview-feature
Joey
02/04/2021, 11:08 AM▸ db seed is not a prisma command.
▸ Perhaps you meant seed
▸ Run prisma help for a list of
▸ available commands.
Ryan
02/04/2021, 11:09 AMJoey
02/04/2021, 11:09 AMnpx ts-node prisma/seed.ts
but would be nice to know whats the issueJoey
02/04/2021, 11:10 AM"@prisma/cli": "2.15.0"
"prisma": "^2.16.0"
"@prisma/client": "2.15.0"
Joey
02/04/2021, 11:10 AMRyan
02/04/2021, 11:11 AM@prisma/cli
and update @prisma/client
to 2.16.0 and check again?Joey
02/04/2021, 11:15 AMJoey
02/04/2021, 11:15 AMSébastien Dubois
02/04/2021, 11:16 AMSébastien Dubois
02/04/2021, 11:16 AMSébastien Dubois
02/04/2021, 11:17 AMRyan
02/04/2021, 11:17 AMnode_modules
and lockfiles to get a fresh installJoey
02/04/2021, 11:20 AMnpx prisma db seed --preview-feature
it workedJoey
02/04/2021, 11:20 AMJoey
02/04/2021, 11:20 AM