Comfy-Org / comfy-cli

Command Line Interface for Managing ComfyUI

Home Page:https://docs.comfy.org/comfy-cli/getting-started

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install failed. '<folder>' already exists.

liusida opened this issue · comments

Here is the error:

(Comfy) [clash] PS C:\ComfyUI> comfy  --workspace=C:/ComfyUI/comfy-dummy --skip-prompt install --nvidia
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────  Update Available! ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ ✨ Newer version of comfy-cli is available: 0.27.                                                                                                                                                                                                                                       │
│ Current version: 0.0.0                                                                                                                                                                                                                                                                  │
│ Update by running: 'pip install --upgrade comfy-cli' ⬆                                                                                                                                                                                                                                  │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Installing from 'https://github.com/comfyanonymous/ComfyUI' to 'C:\ComfyUI\comfy-dummy'
'C:\ComfyUI\comfy-dummy' already exists. But it is an invalid ComfyUI repository. Remove it and retry.

I am using the recent main branch.

And I saw it was caused by this line:
https://github.com/yoland68/comfy-cli/blob/57fa0323bc60549f6e2c7fed2ba1cee62eae2b28/comfy_cli/command/install.py#L174

And I don't understand why it would run git clone if the folder exists, @ltdrdata , is a not missing here?

oh... that's a bug....