When I commit, I get the following husky error.
npx --version to see if npx was installed.
rm -rf .husky, I did another git commit, but it didn’t solve the problem.
.husky/pre-commit: line 4: npx: command not found husky - pre-commit hook exited with code 127 (error)
npm run prepare
Answered By – ice