LogoWonderful Launcher
  • Home
  • Pricing
  • Docs
  • Download

ComfyUI Startup Failed? How to Diagnose and Recover Faster

VerifiedHigh riskTested on Windows 10, Windows 11 | Launcher 1.x | ComfyUI portableLast verified 2026-06-29

Fix ComfyUI startup failures caused by broken plugins, dependency drift, missing packages, and fragile environments.

Tested Environment

  • OS: Windows 10 / 11
  • Launcher: Wonderful Launcher v1.x
  • ComfyUI: Portable / Managed install
  • Python: 3.11+
  • CUDA / Torch: CUDA 12.x / Torch 2.x
  • Last tested: 2026-05-19

When ComfyUI won't start or fails before Starting server, find the first real startup error, then route to the narrow repair page. Most startup failures happen because the environment changed after install — a plugin modified a critical package, a binary package no longer matches the runtime, Torch or CUDA drifted, or a helper/bootstrap file was removed or quarantined. The real question is not "how do I launch ComfyUI?" but "what changed between the last working state and now?"

Fast answer

Read the first traceback in the terminal or launcher log. If it names a missing module, use the matching missing-package page. If it mentions Torch/CUDA, repair the runtime first. If it fails before ComfyUI is installed, treat it as deployment/bootstrap, not a Python package problem.

Route by the first error

User searched or sawBetter next page
ComfyUI startup failed with no exact traceback yetStay here and classify the first error
ComfyUI stuck on loading librariesA plugin or dependency is blocking startup; check the first IMPORT FAILED below and route by that error
ComfyUI timed out waiting for port 8188 after 300sThe backend did not finish starting in time; read the first real startup error, then check antivirus/blocks on 127.0.0.1
port 8188 is already in use on address 127.0.0.1Close the other ComfyUI/process or start with --port 8189
ModuleNotFoundError: No module named ...No module named errors
No module named 'triton'Fix triton
No module named 'sageattention'Fix sageattention
No module named 'insightface'Fix insightface
No module named 'onnx' or onnxruntimeFix onnx / onnxruntime
Torch not compiled with CUDA enabledTorch CUDA repair guide
CUDA out of memoryFix CUDA OOM
failed to fetch server logs after the page opensFailed to Fetch Server Logs
Page is stuck on Reconnecting...Reconnecting Error
Deployment failed downloading resource packageResource package download failure
Deployment failed installing ComfyUI-ManagerComfyUI-Manager deployment failure

Step 1: Classify the startup failure

  • Category A — Python import failure during startup (ModuleNotFoundError: No module named 'sqlalchemy', comfyui-frontend-package is not installed, No module named 'cv2'). A package is missing or broken. If it is imported by ComfyUI's own startup path, use the portable dependency repair runbook rather than treating it as one custom node.
  • Category B — Core runtime drift (Torch not compiled with CUDA, CUDA is not available, AttributeError: module 'torch' has no attribute '...'). Torch, CUDA, or another critical dependency changed.
  • Category C — Plugin import chain blocks startup (one node fails and startup becomes unstable; many plugins fail after one install; it worked before a plugin or update). See plugin import failures and dependency conflicts.
  • Category D — Bootstrap or launcher helper failure (a helper executable is missing, antivirus quarantined a file, a launcher cannot finish booting). Check antivirus quarantine before reinstalling.

Step 2: Fix the narrowest blocker first

When the machine used to work and now does not, this order is safest:

  1. Read the first real startup error — the earliest IMPORT FAILED, ModuleNotFoundError, Torch/CUDA/DLL error, or missing helper. Everything after it may be fallout.
  2. Decide whether it is core runtime, plugin dependency, or deployment/bootstrap.
  3. Use the smallest recovery move for that category:
    • Missing package — install only that package or the plugin requirements that introduced it; do not broad-upgrade everything. For No module named 'sqlalchemy', see the SQLAlchemy startup fix; if fixing one package reveals another core one, switch to the portable dependency repair runbook.
    • Torch/CUDA drift — repair the core runtime first, then retest plugin imports. Common signs: unexpected CPU fallback, CUDA stopped after a custom node install, or xformers/onnxruntime pulled a mismatched build.
    • Missing helper/bootstrap file — check antivirus quarantine, install directory integrity, and launcher helper files. See Bootstrapper Missing.
  4. Restart and re-check the new first error.
  5. Consider reinstall only when the environment no longer has a stable first blocker — and only after preserving models, workflows, and custom nodes.

When startup failure is really a deployment failure

Some first-run issues get described as "startup failed" even though ComfyUI never reached a stable installed state — the resource package did not finish downloading, ComfyUI-Manager did not clone, or a bootstrap file was blocked. If the launcher fails before your first stable launch, check these before repairing Python packages:

  • Deployment Failed: Downloading the Resource Package
  • Deployment Failed: Installing ComfyUI-Manager
  • Bootstrapper Missing (watchdog_bootstrapper_missing)

Related guides

  • Repair Broken ComfyUI Portable Dependencies Without Reinstalling Torch
  • ModuleNotFoundError: No module named 'sqlalchemy' in ComfyUI
  • How to Fix ComfyUI Plugin Import Failed Errors
  • ComfyUI Dependency Conflicts
  • ComfyUI Reconnecting Error
  • Common Issues
  • Troubleshooting Decision Tree

Source References

  • ComfyUI troubleshooting overview
  • ComfyUI custom node troubleshooting guide
  • ComfyUI model troubleshooting guide
  • ComfyUI Desktop installation guide
Related guides:Plugin import failedDependency conflictsMissing bootstrapper error

Start free with Wonderful Launcher if this affects your real ComfyUI environment. It keeps launcher-native repair, task logs, and runtime checks in one place; credits are only for image generation and metered tools.

Download Wonderful LauncherSee credit packages

Did this fix your issue?

Your answer helps prioritize verified ComfyUI repairs.

Table of Contents

Route by the first error
Step 1: Classify the startup failure
Step 2: Fix the narrowest blocker first
When startup failure is really a deployment failure
Related guides
Source References