-
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
Unable to run "keystone prisma migrate dev" from Turborepo monorepo #8858
Comments
I'm not using Turbo and the |
This is actually a bug in turborepo. They swallow stdin (used for automatic migrations in keystone) vercel/turborepo#1235 |
Could be both - I think the Keystone CLI creates a non-interactive context in which the Prisma command runs. I'm just running it in my terminal, which should be interactive. This would also explain why |
I have my doubts that this is a Turborepo issue because in the reproduction steps above I am bypassing the use of Turborepo completely (as far as I know). |
Weird, |
Exactly my experience as well (with the equivalent npx commands) |
Fixed in #8898, will be published soon |
How to reproduce the bug
1. I created this repo with Turbo Repo's starter project by running:
2. I then added Keystone CMS to
~/apps/keystone
usingcd apps npm init keystone-app@latest keystone
3. I then modified the keystone package.json to have migrate script:
4. Move to keystone directory and run keystone command
5. Receive the following output:
Expected Result
I expect the migrations to be created through an interactive terminal
Context
Repro Repo
https://github.com/stuible/keystone-interactive-cli-bug
Here is a MVP repo that reproduces the issue described above.
The text was updated successfully, but these errors were encountered: