Home / Blog / GPU Repair

ComfyUI Custom Node Broke Everything? Disable-All, Frontend vs Backend & Binary Search Diagnosis Guide

GPU Repair 2026-11-26 24 minutes HK GPU Fix Editorial Team
ComfyUI Custom Node Broke Everything? Disable-All, Frontend vs Backend & Binary Search Diagnosis Guide

Summary

ComfyUI failing to start, showing red nodes, or refusing to run a workflow usually means one custom node package broke — not ComfyUI itself. Three one-variable tests separate the layers: disable all custom nodes, sort frontend extensions from backend nodes, then binary-search the faulty package.

What "ComfyUI custom node broke everything" actually means

Start by defining the symptom precisely, because two different failures are described with the same words, and they point in different directions. The symptom this guide covers is a problem that appears on a Windows computer running ComfyUI for local AI image generation, where the failure follows a custom node package — a third-party add-on installed into the custom nodes folder — rather than ComfyUI itself. The visible forms are: ComfyUI will not start at all; ComfyUI starts but the interface is blank or white; a workflow loads with red nodes and a "missing nodes" warning; or a workflow that used to run now refuses to execute.

Before any test is run, the first split must be made, because the two failure appearances are different directions and must never be lumped together:

  • Red nodes, with a "missing nodes" warning when a workflow loads. The package is not installed at all, or it has been renamed. This is "missing code". The workflow itself is usually fine; the nodes it refers to are simply not present.
  • An "(IMPORT FAILED)" line printed during startup. The package is present, but it crashes while loading. This is "code present but loading failed". The last line of the traceback that follows it states the cause — for example, a ModuleNotFoundError naming the Python module that is missing. These two appearances need different repairs, and they cannot be treated as the same fault.

That is not the same as these lookalikes, and they should be separated before any testing begins:

  • ComfyUI produces a completely black image, with no error message. That is a VAE decoding precision problem, covered by the guide on ComfyUI producing all-black images. Every node package loads normally there, so the tests below do not apply.
  • ComfyUI throws a CUDA out-of-memory error while decoding with the VAE. That is a memory problem at the decoding layer, not a node-package loading problem.
  • A LoRA training run throws a CUDA out-of-memory error halfway through. That is a training memory-pool problem, covered by the guide on LoRA training running out of memory.
  • Ollama cannot load a model, or runs on the CPU. That is an Ollama layer problem, not a ComfyUI problem.
  • A node package loads fine, but a model file is corrupted or only partly downloaded. That is a model-file problem, covered by the model download layer. The node packages are not the variable there.
  • ComfyUI itself will not start even with every custom node disabled. That is a core, driver or Python problem. Test 1 below already excludes the custom node layer in that case, and further work on node packages will not find it.

If the symptom is one of those lookalikes, the tests below will still teach how custom nodes work, but their conclusions will not fit neatly. If the symptom is that ComfyUI will not start, shows a blank interface, shows red nodes, or refuses to run a workflow after a custom node package was installed or updated, work through the three tests in order. The order matters: the first test decides whether the custom node layer is even involved, the second decides which class of package to look at first, and the third finds the one package responsible. Reinstalling ComfyUI before the first test is done destroys the most valuable diagnostic evidence available — the difference between a setup that was already broken and a setup that one changed package broke.

How custom nodes work, and where they can break

A custom node is not a built-in ComfyUI feature. It is a code package maintained independently, usually in its own GitHub repository, installed into the custom nodes folder. Every package has two parts: backend Python code, which is the node logic, and a frontend JavaScript extension, which rewrites the web interface. ComfyUI itself does not own this code; each author maintains their own package.

When ComfyUI core is updated, it can change the way the frontend and the backend communicate with each other — the API between them. A package written against the old API can then break in two ways: its frontend extension no longer matches the new frontend, so the interface breaks; or its backend Python dependencies conflict with the new version, so it crashes while loading. The official ComfyUI documentation states plainly that problems caused by frontend extensions are the most common, because the conflict comes from a node author not yet keeping up with a frontend update.

One package that fails to load can drag the whole of ComfyUI down with it — it will not start, the interface goes blank, or no workflow will execute — and that looks exactly like "ComfyUI is broken", when in fact only one package is broken. That is why the first question must always be "is this the custom node layer?", and not "should I reinstall ComfyUI?". Reinstalling changes nothing about which package is broken; the broken package comes back with the reinstall and breaks again.

There is one more distinction that must be kept straight. ComfyUI Manager can install missing packages, and that solves the "missing code" appearance. It cannot solve the "(IMPORT FAILED)" appearance, because there the package is already installed and is crashing while loading. Installing it again does not change why it crashes; the traceback has to be read instead. Manager solves missing code. It does not solve loading failure, and the two must never be confused.

Before the three tests: two preconditions

These are preconditions, not tests. They are checked before any of the three tests is run, and they decide whether the three tests apply at all.

Precondition one: note down what changed most recently. Before testing, record whether ComfyUI core was updated, or whether a particular node package was updated, and which one. A fault that appears right after an update points at what was updated. Testing without that note makes it impossible to say which update caused the fault.

Precondition two: read the startup list. When ComfyUI starts, it prints an "Import times for custom nodes" list, showing which packages loaded, which failed, and which loaded slowly. That list is a reading method, not a test on its own: it tells you where to look, and it is the list to compare against after each test below. Read it before changing anything, so the before-and-after comparison is possible.

Test 1: Compare all custom nodes disabled against all enabled

Test 1 is the gate. It is done before touching any individual package, because it separates "the custom node layer is at fault" from "the custom node layer is not the variable".

Start ComfyUI with all custom nodes disabled, using the disable-all flag. How the flag is applied depends on the installation: a manual installation uses the startup flag, a portable installation changes its startup batch file, and the desktop version switches custom nodes off in its settings menu. The exact flag spelling should be checked against the current official documentation and the startup help output at the time of reading, because it can change. Then run the same symptom and the same workflow in the two states: all custom nodes disabled, and all custom nodes enabled. Do not change anything else between the two runs: not the model, not the workflow, not the driver. One variable changes: whether the custom node packages are loaded at all.

ResultWhat it meansWhere to go next
The symptom disappears with all custom nodes disabledThe custom node layer: the fault follows the packages. One or more of them is breaking the startup or the workflow.The diagnosis is confirmed at this layer. Go to Test 2 and sort out which class of package to check first.
The symptom is still there with all custom nodes disabledThe fault is not in the custom node layer. The packages are not the variable.Stop here. Diagnose the ComfyUI core, the driver, the Python installation or the model files instead. Do not keep circling the node packages.
ComfyUI will not start in either stateA core, driver or Python problem, not a node-package problem.See the boundary list below. Test 1 has already excluded the custom node layer.

To be clear about the resemblance: the shape of this master on-off comparison resembles the master on-off comparison in the guide on ReShade effects crashing a game, where one switch is turned off to see whether the fault follows it. The shapes are similar, but the variables are different. That guide asks whether a graphics injection switch is the variable, and its result variable is whether the game crashes. This test asks whether the ComfyUI node-package switch is the variable, and its result variable is whether ComfyUI starts and whether a workflow runs. Similar shape, different variable, and the conclusion of the ReShade guide cannot be carried across and used here.

Test 2: Compare frontend extensions against general nodes

Test 2 changes one variable at a time inside the custom node layer, and only after Test 1 has proved that the layer is at fault. It asks which class of package to check first. The official documentation divides custom nodes into two classes: class A, nodes with a frontend extension; and class B, general nodes that are backend only. Check class A first, because the official documentation states plainly that frontend extensions cause the most problems.

Disable all class A packages — the ones with frontend extensions — and see whether the symptom disappears. If it does, the fault is in the frontend extension layer. If the symptom is still there with every class A package disabled, move on to class B, the general backend nodes.

ResultWhat it meansWhere to go next
Disabling every frontend-extension package makes the symptom disappearThe frontend extension layer: the fault follows the frontend extensions. One of them no longer matches the current frontend.The diagnosis is confirmed at this class. Go to Test 3 and binary-search inside class A.
The symptom is still there with every frontend-extension package disabledThe fault is not in the frontend extension class.Move on to class B, the general backend nodes, and run Test 3 there.
The interface is still blank even with every frontend-extension package disabledThe fault may be in the core frontend, not in any extension.See the boundary list below. Do not keep disabling packages and expecting a different result.

The operational difference between the two classes is itself evidence, and it must not be written wrongly. After a frontend extension is switched, pressing reload in the browser shows the result; ComfyUI does not need to be restarted. After a general backend node is changed, the whole of ComfyUI must be restarted before the change takes effect, because the backend Python code is only read at startup. It is wrong to say that every node change needs a restart, and it is equally wrong to say that a browser refresh reloads backend nodes. Frontend extensions reload; backend nodes restart. That difference is part of the diagnosis, not a detail to skip.

To be clear about the resemblance: the shape of this "which class first" classification resembles the layer classification in the guide on ComfyUI producing all-black images, where the layers of VAE decoding are separated before testing. The shapes are similar, but the variables are different. That guide asks which decoding layer the fault sits in. This test asks which class of node package to check first. Test 2 is not "try each package one by one" — that is Test 3. Test 2 is "which class first", and the two must not be merged into a single step.

Test 3: Binary-search the faulty package, opening half at a time

Test 3 is the search procedure, and it is done only after Test 1 has confirmed the custom node layer and Test 2 has decided which class to search inside. Do not open the disabled packages one at a time: a linear search is slow, and the official method is a binary search. Divide the disabled packages into two halves, and open one half again. If the symptom appears, the faulty package is in that half. If it does not appear, the faulty package is in the other half. Repeat the halving on the half that contains the fault, until one package is left. Each cycle is three steps: open half the packages, restart ComfyUI, and watch for the symptom. There is also a bisect tool that automates the same halving; whether it is used by hand or by tool, the principle is the same — open half at a time, never one at a time.

ResultWhat it meansWhere to go next
The symptom appears the moment one particular package is opened againThat package is the faulty one. The search is complete.Follow one of the three repair paths below.
The symptom appears in both halvesMore than one package may be faulty, or a shared dependency is broken.Finish the search for the first package, then repeat the halving on the remainder.
No single package brings the symptom backThe fault may be an interaction between two packages, or a dependency shared by several of them.Read the traceback for the dependency name, and check the shared dependency rather than blaming one package.

Once the faulty package is found, there are three repair paths, in order. First, check in Manager whether an update for that package exists, and update it and try again. Second, if there is no update, or the update does not fix it, look for an alternative package with similar functions. Third, if neither works, report the problem to that package's GitHub repository, attaching the ComfyUI version, the complete traceback, and the result of the disable-all test. Those three items are what the author needs, and a report without them is unlikely to get a useful answer.

To be clear about the resemblance: the shape of this "find the one at fault" search resembles the step of opening effects one at a time in the guide on ReShade effects crashing a game. The shapes are similar, but the variables are different. That guide opens effects one at a time in a linear search. This test opens half the packages at a time in a binary search, as the official documentation prescribes. The search method is different, the variable is different — ComfyUI node packages against ReShade effects — and the result variable is different — whether ComfyUI starts and a workflow runs, against whether a game crashes. The binary search must be described as a binary search; writing Test 3 as "open them one at a time" would be wrong.

How the three tests fit together

TestWhat it provesIf it fails, the fault is in
Test 1: All custom nodes disabled against all enabledWhether the custom node layer is involved at allThe custom node layer, or — if the symptom survives disabling — the core, driver, Python or model files
Test 2: Frontend extensions against general nodesWhich class of package to check firstThe frontend extensions, or — if they are all disabled and the fault stays — the general backend nodes
Test 3: Binary search, opening half at a timeWhich single package is faultyOne package, or — if no single package brings it back — a shared dependency or an interaction between packages

Reading the table from top to bottom is the whole method: prove the layer, prove the class, then find the one package. A fault that survives all three tests with every layer apparently correct has not been proved unfixable — it has been proved to need a different investigation, starting with what changed most recently: a ComfyUI update, a driver update, a Python update, or a different model file.

Common misconceptions

"Reinstalling ComfyUI will fix it." No. Reinstalling does not change which node package is broken; the broken package comes back with the reinstall and breaks again. Run Test 1 first, and do not start with a reinstall.

"Manager's 'Install Missing Nodes' fixes everything." No. It only solves "the package is not installed". An "(IMPORT FAILED)" line means the package is installed but crashes while loading, and that needs the traceback read, not another install.

"Red nodes mean the workflow is broken." No. Red nodes most often mean the package is not installed, or it has been renamed. The workflow itself is usually fine; install the package again, or find the newer node that replaced it.

"One broken node means all nodes have a problem." No. One package that fails to load can drag the whole startup down, while the other packages are fine. The binary search exists precisely to isolate that one package.

"Refreshing the browser is the same as reloading the nodes." No. Backend Python code only takes effect after the whole of ComfyUI is restarted. Only frontend extensions can be checked with a browser reload.

"Node packages are all safe, so the more installed the better." No. A custom node runs Python code on the machine, with full access to it. Only install packages from known authors with a public repository, and do not install a package of unclear origin.

Boundaries: what this guide does not cover

SituationWhich guide to followWhy it is not this guide
ComfyUI produces a completely black image, with no errorThe guide on ComfyUI producing all-black imagesA VAE decoding precision layer; every node package loads normally
ComfyUI throws a CUDA out-of-memory error while decoding with the VAEThe VAE decoding out-of-memory guideA memory layer, not a node-package loading layer
A LoRA training run throws a CUDA out-of-memory error halfway throughThe guide on LoRA training running out of memoryA training memory-pool layer, not an inference node package
Ollama cannot load a model, or runs on the CPUThe Ollama model-loading guidesAn Ollama layer, not ComfyUI
A node package is fine, but a model file is corrupted or partly downloadedThe model-file and download layerA model-file layer, not a node-package loading layer
ComfyUI itself will not start, and Test 1 with everything disabled still failsThe core, driver and Python layerTest 1 has already excluded the custom node layer; do not keep circling the node packages
A node package downloaded from a non-official sourceOut of scopePackages should only be installed through Manager or the official Registry; this guide does not teach downloading from non-official sources

No download or installation steps for ComfyUI, node packages or plug-ins are given here beyond the diagnostic flag and the official Manager and Registry routes. Version figures, including the Python version suggested in the official documentation, should be checked against the current official documentation at the time of reading, because they change.

Prevention and ongoing care

A setup that works today can stop working after an update, because the chain depends on ComfyUI core, the node packages, the Python installation and the graphics card driver all agreeing with each other. A few habits keep the chain visible so that the next failure is quick to divide:

  • Keep a short note of what is installed: which node packages, which versions, and when each was last updated. When something changes, the note tells you what changed.
  • Update one thing at a time. If ComfyUI core and several node packages are updated in the same session, no later test can tell you which update mattered. Update one, run the same workflow, and record the result.
  • Before updating anything, run the workflow once and confirm it works, so there is a known-good state to compare against.
  • Only install packages from known authors with a public repository, through Manager or the official Registry. A package of unclear origin should not be installed.
  • Treat version figures as snapshots, not permanent answers. The Python version suggested in the official documentation and the spelling of the startup flag are the authority at the time of reading, and the current official documentation should be checked before treating any figure as the answer.

When to seek professional help

If Tests 1 to 3 have been run in order and the results point to a layer that cannot be changed safely — for example, ComfyUI still will not start with every custom node disabled, or the traceback names a dependency conflict that cannot be resolved by updating or replacing the package — that is the point to bring the machine in rather than keep changing settings. The same applies if the problem appears alongside other symptoms, such as the graphics card not being detected at all, the machine overheating, or a display failing, which suggest a problem beyond node packages.

Diagnosis and repair are charged under the site's public three-tier pricing, from HK$400 to HK$2,800 depending on the work involved, with the actual price subject to quote after inspection. The shop is at Room 1209, Dali Plaza, Shek Mun. The phone number is 2186 8010 and WhatsApp is 6558 6806. There is no Mong Kok shop and no on-site service, so please bring the machine to the Shek Mun shop, and bring the notes from your three tests — whether the fault followed the disable-all switch, which class of package it sat in, and which package the binary search found — because those notes are the fastest route to the right repair.

Frequently asked questions

ComfyUI will not start at all — is ComfyUI itself broken?

Not necessarily. One custom node package that fails to load can drag the whole startup down, and that looks exactly like ComfyUI being broken. Run Test 1 first: start with all custom nodes disabled. If ComfyUI starts with them disabled, the fault is in the custom node layer, not in ComfyUI core. If it still will not start with everything disabled, the fault is not in the custom node layer at all — diagnose the ComfyUI core, the driver, the Python installation or the model files instead, and do not keep circling the node packages.

What is the difference between red nodes and an "(IMPORT FAILED)" message?

They are two different failures. Red nodes with a "missing nodes" warning when a workflow loads mean the package is not installed, or it has been renamed — that is "missing code", and the workflow itself is usually fine. A package that is installed can still show red nodes if it was renamed and the workflow still refers to the old name. An "(IMPORT FAILED)" line during startup means the package is installed but crashes while loading — that is "code present but loading failed", usually a backend Python dependency conflict or a package that does not match the new core version. The two appearances need different repairs, and they cannot be treated as the same fault.

The symptom disappears with all custom nodes disabled — what does that mean?

It means the custom node layer is confirmed: the fault follows the packages, not ComfyUI core, the driver or Python itself. The next step is Test 2, to sort out which class of package is at fault, then Test 3, the binary search, to find the one package. Do not stay in the all-disabled state for normal use, because that means giving up every custom node, which treats the symptom rather than fixing it.

Why should I disable all custom nodes first instead of reinstalling ComfyUI?

Because reinstalling does not change which node package is broken; the broken package comes back with the reinstall and breaks again. The disable-all test changes one variable and reads one result: if the symptom disappears with everything disabled, the custom node layer is confirmed and the search can start; if it does not disappear, the node packages are excluded and the investigation moves to the core, driver, Python or model files. Only after this test is it possible to say whether a reinstall would help at all; reinstalling first simply installs the same broken package again.

How do I tell frontend extensions from general nodes, and why check frontend extensions first?

The official documentation divides custom nodes into two classes: nodes with a frontend extension, and general nodes that are backend only. Frontend extensions rewrite the web interface, and the official documentation states plainly that they cause the most problems, because node authors have not yet kept up with frontend updates — so they are checked first. The operation differs too: after a frontend extension is switched, pressing reload in the browser shows the result, while after a general backend node is changed, the whole of ComfyUI must be restarted before the change takes effect. That difference must not be written wrongly.

Why binary search instead of opening the nodes one at a time?

Because a linear search is slow when many packages are installed. The official method divides the disabled packages into two halves and opens one half again: if the symptom appears, the faulty package is in that half; if it does not, it is in the other half. Repeating the halving finds the one package in far fewer cycles than opening them one at a time. Each cycle is three steps: open half the packages, restart ComfyUI, and watch for the symptom. There is also a bisect tool that automates the same halving; whether it is used by hand or by tool, the principle is the same — open half at a time, never one at a time.

Does Manager's "Install Missing Nodes" fix an "(IMPORT FAILED)" error?

No. It only solves the "package is not installed" case. An "(IMPORT FAILED)" error means the package is already installed and is crashing while loading, so installing it again does not change why it crashes. Read the last line of the traceback instead — for example, a ModuleNotFoundError naming the missing Python module — then decide whether to update the package, replace it, or report the problem to its author.

The problem only appeared after an update — which update caused it?

That is why the update history has to be noted before testing. Record whether ComfyUI core was updated or a particular node package was updated, and which one, then run Test 1. If the fault follows the custom node layer, the binary search in Test 3 will find which package changed, and the update note will confirm whether that package was the one just updated.

Do I have to restart ComfyUI after changing a node, or is a browser refresh enough?

It depends on the class. After a frontend extension is switched, pressing reload in the browser shows the result, and ComfyUI does not need to be restarted. After a general backend node is changed, the whole of ComfyUI must be restarted before the change takes effect, because the backend Python code is only read at startup. A browser refresh never reloads backend nodes. Separately, the Python version suggested in the official documentation changes over time, so it should be checked against the current official documentation at the time of reading rather than treated as a permanent answer.

Are custom node packages safe to install?

Only from known authors with a public repository, through Manager or the official Registry. A custom node runs Python code on the machine with full access to it, so a package of unclear origin should not be installed. Even a popular package should be kept updated, because vulnerabilities have been found in widely used packages before. Packages from non-official sources are out of scope for this guide.

Related Articles

Related Services

Looking for Chip-level GPU repair? Explore our service guides: