Add --no-verify to the end of your commit short term.
I'm also on Mac and started seeing these I think with working on a Carlo app that I instantiated inside my main project folder. I came Googling over to stack overflow due to I wasn't sure what Husky is ('husky' command not installed), so I started digging around to find a linter, guessed to try eslint .
➜ src_aminosee git:(master) ✗ eslint .
Error: Cannot find module '@ljharb/eslint-config'
Referenced from: /Users/tom/Dropbox/Sites/funk.co.nz/aminosee/carlojet/node_modules/array-includes/.eslintrc
This is when I realised that I have a git repo inside of a git repo here ('carlojet' try out folder inside 'aminosee' main project)!! I'd have to (should) move that folder out. Not sure if this type of nested repo issue is what was causing your issue, but after moving thusly and attempt a commit I see:
git commit -am "moved carlojet folder out as i think its git repo conflicted with this main one"
Can't find Husky, skipping pre-commit hook
You can reinstall it using 'npm install husky --save-dev' or delete this hook
Can't find Husky, skipping prepare-commit-msg hook
You can reinstall it using 'npm install husky --save-dev' or delete this hook
Can't find Husky, skipping commit-msg hook
You can reinstall it using 'npm install husky --save-dev' or delete this hook
Can't find Husky, skipping post-commit hook
You can reinstall it using 'npm install husky --save-dev' or delete this hook
My knowledge of git is lacking, but to me, it's like those files are now waving "good bye" having left the repo; or more likely "winking" at me having up traversed into their parents aminosee/.git/hooks/ directory (that was a surprise!), from their true home in aminosee/carlojet/.git/hooks/
I may need to disable all these hooks duplicated from other project... or better still bring up that linter! I guess not great idea to nest git repo inside itself in my case.