When committing on a project that uses Husky, I get an error that says not found husky-run
I checked the package.json
and it has husky as a dependency, and I can see the pre-commit hook configuration for Husky in the package.json
. So I don't know what to do to fix this. Additionally, other members on my team can commit and husky works for them.
I also tried rm -rf node_modules && npm install
and then committing again, but still, I get the same error.
Anyone else have ideas on how to fix this?
yarn install
inside a unix-based Docker container and then committing on Windows. Windows was unable to run the file, even thought it existed. – Shit