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 with sourcetree? #103
Comments
have you read tricks in the README? |
yes, and I didn't find any trick there. I'm fine with using what nvm has set as default but I don't think that is where my problem is. |
I had some old node stuff except for nvm but I've removed that now and now I get this error: .git/hooks/pre-commit: line 11: exists: command not found
So if I understand correctly the command "exists" is not found and therefor nvm is not loaded. |
Hi @badtant, Seems like it's a bug and more particularly a typo. Could you try replacing |
Actually there's @rainboxx's PR that fixes it, a new version should be published soon. |
@badtant PR has been merged and new version has been published, it should better now :) |
@badtant can you verify it with new husky's version? |
I still had an issue with SourceTree, adding this comment in case it helps someone. |
@ohana54 check out the discussion at #101. The code has changed but it was loading In the end I also uninstalled the system-wide node, since it's not used. |
@ohana54 This did help me—thank you! |
use |
I was getting the error message, "util.getSystemErrorName is not a function" (due to using an older Node version), and @chimurai's advice helped. Adding for anyone else who may come across that message. |
I'm trying to use husky precommit with sourcetree. The precommit command is run but i get the following error:
env: node: No such file or directory
Does anybody know what's wrong? I'm using nvm.
The text was updated successfully, but these errors were encountered: