Skip to content

Keystone cli installs conflicting versions of prisma dependencies #9349

Open
@WoodyWoodsta

Description

@WoodyWoodsta

Out of the box, keystone dev installs @prisma/client and prisma dependencies in such a way that version conflicts arise.

  1. Perform "install" walkthrough
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions