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

Error when committing in Windows 10 #385

Closed
domini7 opened this issue May 17, 2021 · 2 comments
Closed

Error when committing in Windows 10 #385

domini7 opened this issue May 17, 2021 · 2 comments

Comments

@domini7
Copy link
Contributor

domini7 commented May 17, 2021

Doing...

$ git add .
$ git commit -m "E"

... will give me this

stdin is not a tty
husky - pre-commit hook exited with code 1 (error)
@dumbmatter
Copy link
Member

It's probably related to the upgrade from husky 4 to 6, which is a bit messy. Either muck around with that, or clone the repo again and installing from scratch should work.

@domini7
Copy link
Contributor Author

domini7 commented May 20, 2021

Unfortunately, re-installing a clone did not fix this issue.

I was able to commit after putting this solution in my local copy, though.
typicode/husky#850 (comment)

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

2 participants