-
Notifications
You must be signed in to change notification settings - Fork 554
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
Windows Issues from husky hooks / or just regular git hooks #709
Comments
I have exactly the same problem when I add to |
@AlexanderOpran @batyshkaLenin |
@s14k51 for commits |
Same issue here. Waiting for a fix for this hook :( |
I was having the same problem. |
It looks like this is a problem with the inquirer library that commitizen uses for prompting: SBoudrias/Inquirer.js#793 |
Didn't work for me unfortunally :( |
Same problem... |
same problem |
nothing? |
same problem |
nothing? =/ |
It looks like cz is piping the input to vim instead of passing it and waiting for the output. If things aren't set up properly and you run |
same problem :/ |
I'm having the same issue, is there a solution for this? From what I've seen in other Issues, people have been having the same problem for years. I'm afraid to implement it in my project because if someone wants to program through Windows, they will have trouble when committing. |
@grumd Oh, thanks for you solution, maybe you can explain it for me? I'm bad on bash scripts. |
@Krasava872 |
@Krasava872 thanks for your solution. However I got the following issue when using lerna publish To fix: I moved the 'npx cz --hook' inside the if so that it will only run if 'exec </dev/tty >/dev/tty 2>&1' runs
|
Multiplication of stdout (I traced this issue down to the log-update package but I could be wrong). Seems like the package doesn't know what to cut from the output (wrong terminal height or something).
Colors are not showing (I can set a env variable to bypass this but the multiplication bug is still there). Again, I believe this is a windows and dependencies issue. This happens with regular git hooks created manually, not only with husky.
Thanks!
The text was updated successfully, but these errors were encountered: