tarmolov / git-hooks-js

A tool to manage and run project git hooks
167 stars 30 forks source link

[GIT-HOOKS ERROR] Incorrect value of args option #27

Closed marcelloromanelli closed 7 years ago

marcelloromanelli commented 7 years ago

Since I've upgraded to 1.1.6 I'm getting the following error

[GIT-HOOKS ERROR] Incorrect value of args option

I've downgraded to 1.1.5 and everything is back to normal.

tarmolov commented 7 years ago

It seems that you hit a npm bug. See https://github.com/tarmolov/git-hooks-js/issues/22#issuecomment-246307819. It should help to fix it.

Please try and let me know if it doesn't help.

zakhenry commented 7 years ago

Thanks @tarmolov your suggestion helped. To be precise, running npm install git-hooks again prompts the postinstall process which cleared whatever had gone wrong in the interim