Having trouble with GitKraken on pre-commit phase. #1061
-
I installed nvm on a clean pc (no nodejs), and installed required node version with nvm. Everything works perfectly fine with Git Bash and Windows Terminal, like committing, pushing, pre-commit with husky and lint-staged etc. But there is an issue with GitKraken like that; Note that, I already tried this solution but it didn't work for me #572 (comment) |
Beta Was this translation helpful? Give feedback.
Answered by
coreybutler
Nov 17, 2023
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
emirxmertoglu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This has nothing to do with NVM4W. You've already confirmed that Node is installed properly. NVM4W has nothing to do with the git command. GitKraken seems to be the problem. Notice the highlighted section of the error output:
An ASAR file is a compressed format (similar to zip) containing a bundle of files. The only tool I'm aware of that uses this extensively is Electron. It will extract files into folders just like what you see in your output. Apparently GitKraken isn't bundling yarn. Additionally, it is worth noting that Electron bundles its own Node binaries, so you're not using the Node versions installed on your system. I recommend reaching out to the GitKraken team for support.