Won't let me use Git Bash to install
Mugane opened this issue · comments
Peter Kionga-Kamau commented
I'm getting this in Git Bash (MINGW64 on win 11):
$ npx create-t3-app@latest
npm WARN exec The following package was not found and will be installed: create-t3-app@7.30.0
___ ___ ___ __ _____ ___ _____ ____ __ ___ ___
/ __| _ \ __| / \_ _| __| |_ _|__ / / \ | _ \ _ \
| (__| / _| / /\ \| | | _| | | |_ \ / /\ \| _/ _/
\___|_|_\___|_/‾‾\_\_| |___| |_| |___/ /_/‾‾\_\_| |_|
WARNING: It looks like you are using MinTTY, which is non-interactive. This is most likely because you are
using Git Bash. If that's that case, please use Git Bash from another terminal, such as Windows Terminal. Alternatively, you
can provide the arguments from the CLI directly: https://create.t3.gg/en/installation#experimental-usage to skip the prompts.
create-t3-app needs an interactive terminal to provide options
Aborting installation...
SystemError [ERR_TTY_INIT_FAILED]: TTY initialization failed: uv_tty_init returned EBADF (bad file descriptor)
npm notice
npm notice New minor version of npm available! 10.2.4 -> 10.5.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.0>
npm notice Run `npm install -g npm@10.5.0` to update!
npm notice
But I don't see why.
$ node -e "process.stdout.write(process.stdin.isTTY ? 'Interactive\n' : 'Non-interactive\n')"
Interactive