[GH-ISSUE #662] [Bug]: Invalid Directory set as base path #198

Closed
opened 2026-10-31 22:09:56 +00:00 by bsakaguchi · 6 comments
Owner

Originally created by @jriker1 on GitHub (Jan 17, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/662

App Version

I can't re-install ComfyUI Desktop in Windows 11. Had to downgrade my Python to support another tool and then wouldn't work anymore so uninstalled and tried to reinstall again but fails.

Expected Behavior

Install is successful and app runs.

Actual Behavior

Running the installer 4.5 or 4.7 alpha and installing normally or as administrator I get this:

Image

So I select this:

Image

and I get this:

Image

Steps to Reproduce

Already showed above.

Debug Logs

This shouldn't be a required step.  I can't install it.

Browser Logs

same here

Setting JSON

same here

Other

No response

┆Issue is synchronized with this Notion page by Unito

Originally created by @jriker1 on GitHub (Jan 17, 2025). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/662 ### App Version I can't re-install ComfyUI Desktop in Windows 11. Had to downgrade my Python to support another tool and then wouldn't work anymore so uninstalled and tried to reinstall again but fails. ### Expected Behavior Install is successful and app runs. ### Actual Behavior Running the installer 4.5 or 4.7 alpha and installing normally or as administrator I get this: ![Image](https://github.com/user-attachments/assets/8fb07c4e-e472-4f3c-a2c9-dbe34a448cb2) So I select this: ![Image](https://github.com/user-attachments/assets/07f14d81-8c94-4f44-b2fd-8d264e474f0d) and I get this: ![Image](https://github.com/user-attachments/assets/d7a4c979-1d7c-4c7f-825d-a4602db3910f) ### Steps to Reproduce Already showed above. ### Debug Logs ```powershell This shouldn't be a required step. I can't install it. ``` ### Browser Logs same here ### Setting JSON same here ### Other _No response_ ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-662-Bug-Invalid-Directory-set-as-base-path-17e6d73d3650815c8216dc533a961c59) by [Unito](https://www.unito.io)
Author
Owner

@robinjhuang commented on GitHub (Jan 17, 2025):

Is the ComfyUI_Desktop folder empty?

<!-- gh-comment-id:2598976839 --> @robinjhuang commented on GitHub (Jan 17, 2025): Is the `ComfyUI_Desktop` folder empty?
Author
Owner

@77oussam commented on GitHub (Jan 18, 2025):

Image

i also have the same error I did a normal installation but when I tried to uninstall ComfyUI and reinstall it I encountered the same issue I tried removing ComfyUI but it wouldnt reinstall

<!-- gh-comment-id:2599526457 --> @77oussam commented on GitHub (Jan 18, 2025): ![Image](https://github.com/user-attachments/assets/766a7f52-1a4e-4a27-b9f0-35dccb6f0d3c) i also have the same error I did a normal installation but when I tried to uninstall ComfyUI and reinstall it I encountered the same issue I tried removing ComfyUI but it wouldnt reinstall
Author
Owner

@DataJuggler commented on GitHub (Jan 19, 2025):

I have the same issue. I just downloaded the 0.4.7 version.

The 0.4.5 version didn't have this problem, but it kept asking me to download a model. I would download it then it would prompt to download the same model again.

<!-- gh-comment-id:2600904009 --> @DataJuggler commented on GitHub (Jan 19, 2025): I have the same issue. I just downloaded the 0.4.7 version. The 0.4.5 version didn't have this problem, but it kept asking me to download a model. I would download it then it would prompt to download the same model again.
Author
Owner

@neosms commented on GitHub (Jan 19, 2025):

I have the same issue. I just downloaded the 0.4.7 version.

<!-- gh-comment-id:2600920544 --> @neosms commented on GitHub (Jan 19, 2025): I have the same issue. I just downloaded the 0.4.7 version.
Author
Owner

@webfiltered commented on GitHub (Jan 19, 2025):

  1. Try moving both extra_models_config.yaml and config.json from %APPDATA%\ComfyUI to another location
    1. These files can be deleted if you are certain they do not contain configuration / settings you wish to restore later
  2. When you next start the app, it will be in installer mode
  3. Select a new, different path to install to
  4. Step through the install / download process

If you run into issues and are migrating custom nodes/extensions, please try without migrating them and see if that resolves the issue.

<!-- gh-comment-id:2600932924 --> @webfiltered commented on GitHub (Jan 19, 2025): 1. Try moving both `extra_models_config.yaml` and `config.json` from `%APPDATA%\ComfyUI` to another location 1. These files can be deleted if you are certain they do not contain configuration / settings you wish to restore later 1. When you next start the app, it will be in installer mode 1. Select a new, different path to install to 1. Step through the install / download process If you run into issues and are migrating custom nodes/extensions, please try without migrating them and see if that resolves the issue.
Author
Owner

@DataJuggler commented on GitHub (Jan 19, 2025):

Thanks, that worked.

<!-- gh-comment-id:2601028062 --> @DataJuggler commented on GitHub (Jan 19, 2025): Thanks, that worked.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#198
No description provided.