Skip to content
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

Won't let me use Git Bash to install #28

Open
Mugane opened this issue Mar 15, 2024 · 0 comments
Open

Won't let me use Git Bash to install #28

Mugane opened this issue Mar 15, 2024 · 0 comments

Comments

@Mugane
Copy link

Mugane commented Mar 15, 2024

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
@Mugane Mugane changed the title Last I checked Git Bash is interactive Won't let me use Git Bash to install Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant