Open
Description
Out of the box, keystone dev
installs @prisma/client
and prisma
dependencies in such a way that version conflicts arise.
- Perform "install" walkthrough
- Run
keystone dev
You'll see an error message which indicates a version mismatch of prisma dependencies:
Error: @prisma/client did not initialize yet. Please run "prisma generate" and try to import it again.
Expected:
Keystone works out of the box. Keystone CLI should install the packages locally with the same version specifier as its internal package.json
.
Additional Info
$ pnpm why @prisma/client
dependencies:
@keystone-6/core 6.3.0
└── @prisma/client 5.19.0
@prisma/client 5.20.0