Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Husky 9 - cannot execute binary file #1426

Open
1 task done
pabloimrik17 opened this issue Apr 20, 2024 · 0 comments
Open
1 task done

Husky 9 - cannot execute binary file #1426

pabloimrik17 opened this issue Apr 20, 2024 · 0 comments

Comments

@pabloimrik17
Copy link

pabloimrik17 commented Apr 20, 2024

Troubleshoot

If you're migrating from husky 4, see:
https://typicode.github.io/husky/migrate-from-v4.html

Context
Please describe your issue and provide some context:
Fresh install with pnpm 8 and husky 9.

Just created the basic pre-commit hook from the docs (npm test) and when the hook runs i get this error

.husky/pre-commit: .husky/pre-commit: cannot execute binary file
husky - pre-commit script failed (code 126)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant