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
[rush] "rush setup" does not work on Windows when using Git bash #3217
Comments
For Git Bash, if you invoke People commonly work around that by skipping the The technique of force-stdin-tty does fix Git Bash, though, so that's one way to solve this. |
Actually I think I misunderstood something. Other possible solutions:
|
Yarn's
|
This also arises with Docker, and docker/for-win#1588 (comment) observes that:
The difference is that So another nice workaround is to right-click drag+drop |
Fixed in PR #3219 |
Summary
When
rush setup
tries to display interactive input prompts, it works fine with Windows Command Prompt (cmd.exe
) but not with Git Bash.Repro steps
Set up a repo where
rush setup
will prompt for input.Open Windows Command Prompt and do
rush setup
. It correctly prints something like this:Now try
rush --debug setup
under Git Bash. It prints:Standard questions
Please answer these questions to help us investigate your issue more quickly:
@microsoft/rush
globally installed version?rushVersion
from rush.json?useWorkspaces
from rush.json?node -v
)?UPDATE: Originally I thought that PowerShell was not working, but it works fine. This issue only affects Git Bash.
The text was updated successfully, but these errors were encountered: