-
Notifications
You must be signed in to change notification settings - Fork 102
Troubleshooting
Lam Tang edited this page Oct 18, 2022
·
3 revisions
Error: husky - Command not found
when committing (#485)
If you're running Git from an app and the command can be found in your terminal, this means that the PATH in your app is different from your terminal.
# unsets the hooks path if its different $ git config --unset core.hooksPath # To revert the git-flow hooks directory back to its default you need to reset the config to point to the default Git hooks directory. $ git config gitflow.path.hooks .git/hooks
See husky docs: https://typicode.github.io/husky/#/?id=command-not-found