You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run npm create t3-app@latest from my windows terminal running git-bash, i can only create the default project. Since windows terminal is interactive i expect to be able to see options and choose accordingly.
Run npm create t3-app@latest on a windows terminal running git-bash.
Additional information
This is due to the check of process.env.SHELL containing bash in windows terminal. If a check for terminal instead of shell could be implemented, bug should disappear.
The text was updated successfully, but these errors were encountered:
Apparently, in release 7.5.6 the git-bash was treated as un-interactive (#1222). I couldn't clearly find a reason though.
I used it perfectly inside Windows Terminal last month. I wonder if this is something they are working on or planning to do. I would love to see compatibility with git-bash again.
it's possible that the real problem is MinTTY rather than git-bash itself. Feel free to test this and if so open a PR that detects MinTTY and treats it as non interactive instead of git-bash. (the check for it is here).
If you don't want to open a PR and just want a non broken terminal on Windows, use WSL.
Provide environment information
System:
Binaries:
Describe the bug
When i run
npm create t3-app@latest
from my windows terminal running git-bash, i can only create the default project. Since windows terminal is interactive i expect to be able to see options and choose accordingly.Reproduction repo
https://github.com/t3-oss/create-t3-app
To reproduce
Run
npm create t3-app@latest
on a windows terminal running git-bash.Additional information
This is due to the check of process.env.SHELL containing bash in windows terminal. If a check for terminal instead of shell could be implemented, bug should disappear.
The text was updated successfully, but these errors were encountered: