For several months, I had husky installed and everything was working perfectly. However, today out of nowhere, after restarting my system, I encountered this unexpected error:
Error: husky - Command not found in PATH=/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core:/usr/bin:/bin:/usr/sbin:/sbin
.husky/pre-commit: line 4: npx: Command not found
I'm unsure of what triggered this issue, but now I am unable to commit my changes. While I could technically bypass the hook, I'd prefer to resolve this problem.