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

unable to do commit-msg type hook #1544

Open
1 task
liam8888999 opened this issue Dec 6, 2024 · 1 comment
Open
1 task

unable to do commit-msg type hook #1544

liam8888999 opened this issue Dec 6, 2024 · 1 comment

Comments

@liam8888999
Copy link

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:
im trying to use husky and a commit-msg type to run commit lint on a github desktop but i always get a message/error that npx is not found

Thank you!

@faridvatani
Copy link

If GitHub Desktop can’t find npx, run which npx to get its absolute path and use that in your .husky/commit-msg hook.

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

2 participants