-
Notifications
You must be signed in to change notification settings - Fork 153
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Environment
- OS: Windows
- Node Version: v22.0.0
- Package:
@clack/prompts - Package Version: v0.7.0
Describe the bug
This line throws ERR_TTY_INIT_FAILED when used inside terminals like Git Bash.
To Reproduce
You'll need a Windows machine (or VM, I'm using UTM on mac) with Git Bash installed. Then try running any project using clack. For example with VitePress:
mkdir foo
npm add -D vitepress
npx vitepress initOr with Svelte:
npm create svelte@latest fooExpected behavior
Work similar to other terminals or maybe a fallback strategy in case write stream can't be opened on stdin.
Additional Information
Downstream issues - vuejs/vitepress#3841, sveltejs/svelte#8595, https://stackoverflow.com/q/75750730/11613622,
alexrififi and liamdebeasi
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
Done