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
[Bug]: TTY initialization failed: uv_tty_init returned EINVAL (invalid argument) #202
Labels
bug
Something isn't working
Comments
Stale issue message |
Still a problem |
Any ideas on this? I have the same problem. |
Are you guys both on Windows? If so try this: typicode/husky#850 (comment) I'm getting this issue in Linux though :( |
what are the reproduction steps? how do you add a pre-commit-msg hook via husky? could you share the simplest way for me to reproduce it pls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Opencommit Version
2.2.10
Node Version
16.16.0
NPM Version
8.11.0
What OS are you seeing the problem on?
Mac
What happened?
Hi,
I've just added the
prepare-commit-msg
hook using husky in order to runoco --no-verify
.unfortunately it doesn't seem to work, I'm getting this error
❯ git commit -m "test" → No staged files match any configured task. ┌ open-commit │ ◇ 2 staged files: .github/workflows/opencommit.yml .husky/prepare-commit-msg │ ◇ 📝 Commit message generated │ └ Commit message: —————————————————— chore: remove OpenCommit Github Action and add Husky prepare-commit-msg hook to run OpenCommit CLI before commit message is created │ ◇ 📝 Commit message generated │ └ ✖ TTY initialization failed: uv_tty_init returned EINVAL (invalid argument) husky - prepare-commit-msg hook exited with code 1 (error)
Do you have any hint?
Expected Behavior
The it works
Current Behavior
Getting error
Possible Solution
No response
Steps to Reproduce
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: