husky icon indicating copy to clipboard operation
husky copied to clipboard

error: .husky/_/post-checkout died of signal 9

Open rmclaughlin-nelnet opened this issue 1 year ago • 0 comments

Troubleshoot

  • [x] Before creating an issue, please check: https://typicode.github.io/husky/troubleshoot.html

If you're migrating from husky 4, see: https://typicode.github.io/husky/migrate-from-v4.html

Context Please describe your issue and provide some context:

  • Terminal or GUI client (PowerShell, Git Bash, GitHub Desktop, ...)
  • If applicable, content of the failing hook
  • If possible, minimal steps to reproduce the issue

I have been using husky successfully for over a year. However recently I have started getting the error error: .husky/_/post-checkout died of signal 9 on almost every time I checkout or commit. I am on a Mac with Node v20.14.0 NPM 10.9.2 git version 2.48.1 (I use homebrew and this is the latest they have) My package.json has "husky": "9.1.7"

besides the _ directory my .husky directory only has one file called pre-commit and it contains the following npm run lint && npm run test && npm run coverage && npm run depcheck

Any help would be appreciated

Thank you!

rmclaughlin-nelnet avatar Jan 23 '25 17:01 rmclaughlin-nelnet