ghooks: ghooks not found!
I’m receiving this even when I installed everything even globally.
ghooks not found! Make sure you have it installed on your "node_modules". Skipping git hooks.
package.json
"config": {
"ghooks": {
"commit-msg": "validate-commit-msg",
"post-merge": "npm install"
}
}
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 39 (8 by maintainers)
Commits related to this issue
- docs(hooks): Add note about the hooks' working directory This documents the current behaviour. For more information: https://github.com/gtramontina/ghooks/issues/78#issuecomment-230289144 — committed to ghooks-org/ghooks by gtramontina 8 years ago
- docs(hooks): Add note about the hooks' working directory This documents the current behaviour. For more information: https://github.com/gtramontina/ghooks/issues/78#issuecomment-230289144 — committed to ghooks-org/ghooks by gtramontina 8 years ago
Will do 😃
I know this is super late @kevinSuttle (might still be useful to other people though), but typically if you cd into the
.gitfolder and just remove the hooks dir and add a blankhooksdir and install husky, you can migrate over. Of course, you’ll have to rewrite your hooks, but thats better than nuking a git repo and reinitializing.I’m recommending people switch to husky.