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 pre commit error #4048

Open
Deadsg opened this issue Mar 22, 2025 · 3 comments
Open

Husky pre commit error #4048

Deadsg opened this issue Mar 22, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@Deadsg
Copy link

Deadsg commented Mar 22, 2025

Describe the bug

.husky/pre-commit: line 3: node_modules/.bin/bun: cannot execute binary file: Exec format error
husky - pre-commit script failed (code 126)

To Reproduce

git commit produces the error in git bash

Expected behavior

expected the commit to go through

Screenshots

Image

Additional context

current error when trying to pull latest changes

@Deadsg Deadsg added the bug Something isn't working label Mar 22, 2025
Copy link
Contributor

Hello @Deadsg! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!

@jmikedupont2
Copy link

workaround

git commit --no-verify -m "commit message"
           ^^^^^^^^^^^
-n  

https://stackoverflow.com/questions/7230820/skip-git-commit-hooks#7230886

@jmikedupont2
Copy link

This is on windows, also can you make another issue for the dos2unix and any other thing you found?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants