I use WebStorm and after adding git-lfs I started to get this error
Error updating changes: git-lfs filter-process: git-lfs: command not found the remote end hung up unexpectedly
It prevents git updates. Lfs is working fine in every terminal.
I use WebStorm and after adding git-lfs I started to get this error
Error updating changes: git-lfs filter-process: git-lfs: command not found the remote end hung up unexpectedly
It prevents git updates. Lfs is working fine in every terminal.
I had the same problem with IntelliJ. In my case, I could not solve my problem via the confirmed answer.
However, I have no error opening the IDE from the terminal
Looks like git-lfs is not on your $PATH when running the IDE from Finder, etc.
On MacOSX the environment variables differ between GUI applications and within the terminal. Terminal environment is only available to applications started from terminal. To solve this problem, WebStorm tries to load terminal environment by executing the following command on startup:
-l -i -c '/Applications/webstorm.app/bin/printenv.py'
Seems this command can't retrieve all needed stuff in your case - thus the issue.
Some links you may find useful: http://apple.stackexchange.com/questions/106355/setting-the-system-wide-path-environment-variable-in-mavericks, http://apple.stackexchange.com/questions/51677/how-to-set-path-for-finder-launched-applications.. The problem is that the way to define system-wide environment variables on Mac changes from one version to another (even minor system updates may break your environment)
For me (Mac M1), quitting and restarting PyCharm completely (not only a single Project) fixed the problem.