Open WoodyWoodsta opened 1 month ago
keystone has specific prisma version resolution, if you want to use higher version you want to add that to resolutions
or overrides in your package.json
@gautamsi That is understood. However, the issue is that the keystone cli installs a version which does not match the specific version you mention.
Ah... is this is why I'm having issues with a default/new install?
Literally you run:
pnpm create keystone-app@latest
cd my-app
pnpm run dev
and it errors out with:
Error: Schema engine exited. Error: Command failed with exit code 1: /Users/mee/src/tests/static/backend/node_modules/.pnpm/@prisma+engines@5.19.0/node_modules/@prisma/engines/schema-engine-darwin-arm64 cli --datasource <REDACTED> can-connect-to-database
Out of the box,
keystone dev
installs@prisma/client
andprisma
dependencies in such a way that version conflicts arise.keystone dev
You'll see an error message which indicates a version mismatch of prisma dependencies:
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