Skip to content
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 prisma migrate dev broken in latest version #8888

Closed
yorkeJohn opened this issue Nov 6, 2023 · 3 comments
Closed

keystone prisma migrate dev broken in latest version #8888

yorkeJohn opened this issue Nov 6, 2023 · 3 comments

Comments

@yorkeJohn
Copy link

Keystone version: 5.7.0

Steps to reproduce:

  1. Run npx keystone prisma migrate dev from a local terminal
  2. See error message "Error: Prisma Migrate has detected that the environment is non-interactive, which is not supported."
  3. Run npx keystone prisma migrate reset --force to reset the database
  4. Run npx keystone prisma migrate dev again. When prompted "Enter a name for the new migration", no input can be made
  5. The only way to exit the command is to press ctrl+C

Expected behaviour:

  1. Run npx keystone prisma migrate dev from a local terminal
  2. Get prompted to enter a name for the migration
  3. A new migration is generated

Workaround:
Downgrade to Keystone 5.5.1 (might be able to go newer, but this was the working version that I had in another project)

@stuible
Copy link

stuible commented Nov 7, 2023

I imagine this has the same cause as my issue: #8858

@dcousens
Copy link
Member

Fixed in #8898, will be published soon

@yorkeJohn
Copy link
Author

When is this targeted for release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants