Solution : husky – pre-commit hook exited with code 127 (error)

This error will come while doing git commit. Temporary fix for this error is

Above solution will also work for the following error too.

husky – pre-commit script failed(code 127)

Leave a comment