ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Git is detected as missing on Windows when installed with Scoop

Open bolens opened this issue 7 months ago • 6 comments

Custom Node Testing

Expected Behavior

ComfyUI should detect and use the version of Git already available on my system

Actual Behavior

ComfyUI gives error status and shows Git as missing

Image

Steps to Reproduce

Install Git using the Scoop package manager, then launch ComfyUI

Debug Logs

When you run a troubleshooting command, any output will be shown here.

Other

It let me bypass the check on first install, but subsequent app launches will only show me the error screen.

Terminal outputs for verifying it's in my path:

where.exe git
D:\scoop\shims\git.exe
git --version
git version 2.48.1.windows.1

bolens avatar Jun 23 '25 04:06 bolens

It seems that your installation is not being properly recognized in the environment where ComfyUI is running. Please configure it correctly, or uninstall the current Git program and reinstall it from the following link:

https://git-scm.com/downloads/win

  • Choose the standalone version
  • Select the option: "Use Windows default console window"

ltdrdata avatar Jun 23 '25 22:06 ltdrdata

It seems that your installation is not being properly recognized in the environment where ComfyUI is running. Please configure it correctly, or uninstall the current Git program and reinstall it from the following link:

git-scm.com/downloads/win

* Choose the standalone version

* Select the option: "Use Windows default console window"

Thanks for the reply, I'm a bit confused though. Git is loaded into my user's env variables just fine and it's the same user running ComfyUI

bolens avatar Jun 24 '25 00:06 bolens

This is still an issue, git is not being properly detected by ComfyUI. No other program in my environment has issues with using git.

bolens avatar Jul 22 '25 14:07 bolens

It seems that your installation is not being properly recognized in the environment where ComfyUI is running. Please configure it correctly, or uninstall the current Git program and reinstall it from the following link:

https://git-scm.com/downloads/win

  • Choose the standalone version
  • Select the option: "Use Windows default console window"

Still doesn't work for me when i try using my normal user but it seems to see git if ran by admin.

Muramas avatar Aug 11 '25 18:08 Muramas

@bolens @ltdrdata (windows11 24h2 26100.4946) double clicking the desktop icon produced the same issue for me:

Image

As you can see git is installed in the unremarkable location, it also present in the path:

Image

However, when running the ComfyUI.exe directly from the normal Command Line/terminal it works. ComfyUI.exe is to be able to detect Git correctly.

(base) PS C:\Windows\System32> cd "C:\Users\colemanby92\AppData\Local\Programs@comfyorgcomfyui-electron" (base) PS C:\Users\colemanby92\AppData\Local\Programs@comfyorgcomfyui-electron> .\ComfyUI.exe

sinfully188 avatar Aug 16 '25 10:08 sinfully188