rarity-score icon indicating copy to clipboard operation
rarity-score copied to clipboard

Husky - pre-commit hook exited with code 1 (error)

Open krew-xyz opened this issue 2 years ago • 4 comments

Getting this error when trying to push after a commit all of the sudden. I have to use git commit -m "message" --no-verify to force the commit and then push. Here's my package.json: Screen Shot 2022-06-27 at 2 08 19 PM .

krew-xyz avatar Jun 27 '22 18:06 krew-xyz

Try deleting and installing node_modules?

nishantrpai avatar Jul 01 '22 08:07 nishantrpai

Yeah, I did that a bunch of times, same issue.

krew-xyz avatar Jul 01 '22 12:07 krew-xyz

What is the error btw, there is no screenshot of that.

nishantrpai avatar Jul 02 '22 01:07 nishantrpai

Ah, sorry about that. This was one of them: Screen Shot 2022-06-27 at 2 07 13 PM

krew-xyz avatar Jul 02 '22 11:07 krew-xyz