We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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)
The text was updated successfully, but these errors were encountered:
It suddenly happens to me since today. I didn't change the computer.
I only made the following system updates on my arch linux laptop with btrfs and restarted my pc:
[2024-05-18T14:20:42+0200] [ALPM] upgraded linux-zen-headers (6.8.9.zen1-2.1 -> 6.9.1.zen1-1.1) [2024-05-18T14:20:39+0200] [ALPM] upgraded linux-zen (6.8.9.zen1-2.1 -> 6.9.1.zen1-1.1) [2024-05-18T14:20:37+0200] [ALPM] upgraded libdatachannel (0.21.0-1.1 -> 0.21.1-1.1) [2024-05-18T14:20:37+0200] [ALPM] upgraded libjuice (1.4.1-1.1 -> 1.4.2-1.1) [2024-05-18T14:20:37+0200] [ALPM] upgraded bluez-utils (5.75-1 -> 5.76-1) [2024-05-18T14:20:37+0200] [ALPM] upgraded bluez-libs (5.75-1 -> 5.76-1) [2024-05-18T14:20:37+0200] [ALPM] upgraded bluez (5.75-1 -> 5.76-1)
So maybe it has something to do with the 6.9.1 kernel.
It only happens with pnpm install. With pnpm run prepare or executing husky directly it works.
pnpm install
pnpm run prepare
husky
Sorry, something went wrong.
No branches or pull requests
Troubleshoot
https://typicode.github.io/husky/troubleshoot.html
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)
The text was updated successfully, but these errors were encountered: