Open CynicalBusiness opened 3 months ago
You can enable the new behavior with NX_NATIVE_COMMAND_RUNNER=true
.
This is actually on by default on everywhere except for windows. There is an open issue on Windows which was why we turned it off, https://github.com/nrwl/nx/issues/22358 so also follow for updates there.
@FrozenPandaz
While https://github.com/nrwl/nx/issues/22358 is still an issue, any reason not to implement this fix: https://github.com/nrwl/nx/issues/8269#issuecomment-1612676715? It seems to resolve the issue without needing NX_NATIVE_COMMAND_RUNNER=true
Current Behavior
When trying to execute Prisma CLI commands, interactive input cannot be provided. Prisma presents the prompt to input, but nothing can be entered.
For example:
I cannot, however, enter said migration name. No keyboard input (except Ctrl+C) works.
Expected Behavior
Entering interactive input is possible as it would be when ran directly (i.e.
./node_modules/.bin/prisma migrate dev
oryarn prisma migrate dev
)GitHub Repo
No response
Steps to Reproduce
nx-examples
)yarn add -D prisma
) and init (exyarn prisma init
)nx:run-commands
to execute, for example,prisma migrate dev
nx
, observe lack of interactivity.Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
I found and read through #8269, which sounds like my issue and was allegedly fixed in #21195, but it doesn't look like that was actually the case.
project.json
:prisma/prisma.schema
: