gitgit-fork

Command Not Found in Git Fork


I'm using Git Fork as my Git client. Recently I made some changes to my installation of Node JS. After doing so all my pre-commit hooks threw an error saying npm: command not found.

I can use NPM from the terminal, but for some reason Git Fork isn't able to find it. Does anyone know why?

enter image description here


Solution

  • From Git Fork Support

    Most probably your ENV in command line is different. Start Fork from CLI (open -a Fork .) to make it inherit ENV of the parent process. Then both your terminal and Fork will have the same PATH.