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

Most upvoted comments

Will do 😃

I know this is super late @kevinSuttle (might still be useful to other people though), but typically if you cd into the .git folder and just remove the hooks dir and add a blank hooks dir 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.