Skip to main content
This page lists the messages Comfy Desktop shows when a build fails, with the fix for each. To install, add, or connect the build, see Builds.

Fix a build that fails

When a build fails, Comfy Desktop marks it in several places:
  • Sidebar: a red dot. Its tooltip reads, for example, Crashed (exit code 1) or Didn’t start: and the reason.
  • Builds page: a status chip on the tile, such as Didn’t start, Crashed, or Error.
  • Quick actions menu: View error, which opens the details.
  • Build page: a red chip next to the name. Click it to open the details.
  • Home: the build card reads Didn’t start, or names a problem with the build, such as Install failed or Folder not found. A crash doesn’t show on the card.
Find the message you see below.
The install stopped before it finished. The Installing ComfyUI dialog reads ComfyUI didn’t install and shows the step that failed. Click View logs in the dialog to read the output.The build then shows Install failed: This build’s installation did not finish. Uninstall it and reinstall. Uninstall the build, and then install it again.
The build failed to start. The build page shows ComfyUI didn’t start with the reason.
  1. Click View logs on the build page, or select View error in the quick actions menu, to read what went wrong.
  2. Fix the cause. In the dialog that opens, click Try again.
ComfyUI stopped while it ran. The sidebar tooltip reads Crashed with the exit code or signal, and the build page shows ComfyUI exited unexpectedly.
  • Select View error in the quick actions menu to read the message and the last lines ComfyUI printed.
  • In the ComfyUI window, click Restart ComfyUI to start it again, or Back to Home.
On Windows, a crash can report a memory access violation. If the message also says some Microsoft Visual C++ Redistributable files appear to be missing, repair or install the latest redistributable, and then restart the build.
Comfy Desktop can’t reach the build’s folder.
  • Folder not found: Build folder not found. Reconnect the drive or restore the folder, then try again.
  • Folder access denied: Can’t access the build folder. Check that you have permission to read it (or that the drive is online), then try again.
Select View error in the quick actions menu to read the message and the folder path.
The build page shows Uninstall didn’t finish with the reason. When a file is in use, the reason names the program that holds it, or says Comfy Desktop couldn’t identify it. Close that program, and then click Try again. Click Dismiss to close the message.If an earlier uninstall was interrupted, the build shows Uninstall interrupted: A previous uninstall of this build was interrupted. Open it to resume or retry the uninstall. Open the build page, and then uninstall it again.
ComfyUI listens on a port, 8188 unless the build’s startup arguments set --port. When another program uses that port, the If port is busy setting in Set the window, cache, and port decides what happens:
  • Use next available port (asks if —port is set): the default for Standalone and Portable builds. Comfy Desktop starts the build on the next free port, and the start progress names the busy port and the port it uses instead.
  • Ask what to do: the default for other build types.
Comfy Desktop opens Port already in use and names the program that holds the port when If port is busy is Ask what to do, when the startup arguments set --port, or when Comfy Desktop finds no free port.
Stop process and retry stops the other ComfyUI and loses its unsaved work.
  • Use next available port: starts this build on the next free port.
  • Stop process and retry: stops the program that holds the port, then starts the build again. It appears only when that program looks like a ComfyUI.
Close the dialog to cancel the start.When the build’s startup arguments include --enable-assets, Comfy Desktop also checks whether the port is held by another ComfyUI that runs this same build. If it is, Comfy Desktop doesn’t offer another port, because both ComfyUI copies would use the same database. Stop the other copy first, or close the app that started it.
An earlier Comfy Desktop session left a ComfyUI running for this build. That ComfyUI holds the build’s database, so a new ComfyUI for the build can’t start.
Stop it and start this build cancels the prompts the earlier ComfyUI is working on.
  • ComfyUI is still running a prompt: click Stop it and start this build to stop it and cancel its prompts, or keep it running and cancel this start.
  • Processes from an earlier ComfyUI are still running: the message lists their process IDs. Click Stop them and start this build.
  • When the earlier ComfyUI doesn’t exit, end the process yourself, and then start the build again.
Another ComfyUI uses this build’s database, so ComfyUI can’t start for this build. Close the other ComfyUI, or the app that started it, and start the build again. To run both at the same time, give one of them its own database location with the --database-url startup argument.