-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keystone cli installs conflicting versions of prisma dependencies #9349
Comments
keystone has specific prisma version resolution, if you want to use higher version you want to add that to |
@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/@[email protected]/node_modules/@prisma/engines/schema-engine-darwin-arm64 cli --datasource <REDACTED> can-connect-to-database |
Workaround:
|
@WoodyWoodsta how do you reproduce this problem? |
@dcousens Repro is in the description:
I have not worked with this for quite some time so I'm not if it is still an issue. |
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
The text was updated successfully, but these errors were encountered: