-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
GUI Git Hook fails when env defined in .npmrc #131
Comments
Same here. In Sourcetree and Fork the precommit is not run allowing you to commit. In my
Modifying
I see that indeed that npm is not in the
but
As you can see I'm using |
Have you guys found a solution to this? |
I'm still getting this, why was this closed? What's the solution? |
Figured out my problem. For any future peoples: I was commiting/pushing with vscode and that was giving me the above error. When I commit/push with the terminal, it works fine! |
@lukeselbeck i'm commiting/pushing using git kraken and visual studio, there should be a way to export variables for husky |
Why is this closed? |
Yes, why is this closed? |
I'm facing same issue as well... |
Still having this issue when I am committing with gitkraken. Perhaps we could reopen, @chrisblossom what you think? |
Because this issue was created so long ago and I closed it without commenting why (my mistake, sorry!), I would recommend opening a new issue with a link to this issue in-case it is still relevant. |
Will do thanks |
I'm facing this problem again, with the last |
I'm having the same issue with GitKraken |
Facing the same issue with Sourcetree. |
Having the same issue with Sourcetree & vscode |
I published a solution on StackOverflow. Can you please try it out and let me know if it works for you too? |
This should't be closed as the above fix does not work for me, using Github Desktop. |
my .npmrc:
The text was updated successfully, but these errors were encountered: