-
Notifications
You must be signed in to change notification settings - Fork 348
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
Error after generating commit : ERR_TTY_INIT_FAILED #11
Comments
I have this error only when git hook is set |
Same error with git hook set |
do you guys have windows? |
ok i see, it's windows, i dont have one, so hard to reproduce and debug, maybe one of you want to solve it and make a PR? |
@di-sukharev Yes for Windows as env I have hard time to track down what going bad but yeah I will make a PR if I found a fix |
I am also getting the same error on windows. |
yep, hook on windows looks like not working properly. @Mutahhar @DylanDelobel you could fork the repo and run code locally with |
I tried digging into this, and it seems like the cause is because of how I think there are some way to solve this problem, but the two solutions that I tested is to check And the other solution is to change In both solutions, |
will try to add this asap, thanks @hufuhufu <3 <3 |
So the path module is platform independent. By default, the path module automatically switches between POSIX (OSX, Linux) and Windows modes based on which OS your Node process is running. Simply switch to path.join instead of specifying the delimiters should resolve the issue. |
On dev dev branch there seems to be another windows incompatible mod used |
Stale issue message |
reopen ..never ahs been solved |
I'm running into a similar problem (though Yarn on Linux). While looking for answers I stumbled on this, which may provide some answers/clues (even though it's for Husky, looks quite similar) |
Config: VS Code on Windows 11
Getting error ERR_TTY_INIT_FAILED when generating commit.
I have same error when using command oc, or using VS Code commit button with git hook set.
The text was updated successfully, but these errors were encountered: