How to Troubleshoot and Solve ComfyUI Issues
Troubleshoot and fix problems caused by custom nodes and extensions
Quick Issue Diagnosis
If you’re experiencing any of these issues, there is a high likelihood that it is caused by custom nodes:
- ComfyUI crashes or won’t start
- “Failed to import” errors in console/logs
- UI completely breaks or shows blank screen
- “Prompt execution failed” errors not related to memory issues
- Missing nodes that should be available/installed
Is It a Custom Node Problem?
Most ComfyUI issues are caused by custom nodes (extensions). Let’s check if this is the case.
Step 1: Test with all custom nodes disabled
Run ComfyUI with all custom nodes disabled:
Start ComfyUI Desktop with custom nodes disabled from the settings menu
or run the server manually:
Start ComfyUI Desktop with custom nodes disabled from the settings menu
or run the server manually:
Open the folder where the portable version is located, and find the run_nvidia_gpu.bat
or run_cpu.bat
file
- Copy
run_nvidia_gpu.bat
orrun_cpu.bat
file and rename it torun_nvidia_gpu_disable_custom_nodes.bat
- Open the copied file with Notepad
- Add the
--disable-all-custom-nodes
parameter to the file, or copy the parameters below into a.txt
file and rename the file torun_nvidia_gpu_disable_custom_nodes.bat
- Save the file and close it
- Double-click the file to run it. If everything is normal, you should see ComfyUI start and custom nodes disabled
Open the folder where the portable version is located, and find the run_nvidia_gpu.bat
or run_cpu.bat
file
- Copy
run_nvidia_gpu.bat
orrun_cpu.bat
file and rename it torun_nvidia_gpu_disable_custom_nodes.bat
- Open the copied file with Notepad
- Add the
--disable-all-custom-nodes
parameter to the file, or copy the parameters below into a.txt
file and rename the file torun_nvidia_gpu_disable_custom_nodes.bat
- Save the file and close it
- Double-click the file to run it. If everything is normal, you should see ComfyUI start and custom nodes disabled
- Enter the folder where the portable version is located
- Open the terminal by right-clicking the menu → Open terminal
- Ensure that the folder name is the current directory of the portable version
- Enter the following command to start ComfyUI through the portable python and disable custom nodes
Results:
- ✅ Issue disappears: A custom node is causing the problem → Continue to Step 2
- ❌ Issue persists: Not a custom node issue → Report the issue
Step 2: Find the Problematic Custom Node
We’ll use binary search to quickly find which custom node is causing issues. This is much faster than testing nodes one by one.
Option A: Using Comfy CLI (Recommended)
If you have Comfy CLI installed, you can use the automated bisect tool to find the problematic node:
The bisect tool will automatically enable/disable nodes and guide you through the process.
Option B: Manual Binary Search
If you prefer to do the process manually or don’t have Comfy CLI installed, follow the steps below:
How Binary Search Works
Instead of testing each node individually (which could take hours), we split the nodes in half repeatedly:
Binary Search Process
Before starting, create a backup of your custom_nodes folder in case something goes wrong.
Create Temporary Folders
Find the Problematic Node
-
List your custom nodes:
-
Split nodes in half:
Let’s say you have 8 custom nodes. Move the first half to temporary storage:
-
Test ComfyUI:
-
Interpret results:
- Issue persists: Problem is in the remaining nodes (5-8)
- Issue gone: Problem was in the moved nodes (1-4)
-
Narrow it down:
- If issue persists: Move half of remaining nodes (e.g., nodes 7-8) to temp
- If issue gone: Move half of temp nodes (e.g., nodes 3-4) back to custom_nodes
-
Repeat until you find the single problematic node
Visual Example
Let’s walk through a complete example with 8 custom nodes:
Round 1: Move first 4 to temp
- Test → Issue persists ✓
- Problem is in: ComfyUI-AnimateDiff-Evolved, ComfyUI-FaceRestore, ComfyUI-Advanced-ControlNet, ComfyUI-Inspire-Pack
Round 2: Move 2 of the remaining 4 to temp
- Test → Issue gone ✓
- Problem is in: ComfyUI-Advanced-ControlNet, ComfyUI-Inspire-Pack
Round 3: Move 1 of the remaining 2 to temp
- Test → Issue persists ✓
- Found it! ComfyUI-Inspire-Pack is the problematic node
Step 3: Fix the Issue
Once you’ve identified the problematic custom node:
Option 1: Update the Node
- Check if there’s an update available in ComfyUI Manager
- Update the node and test again
Option 2: Replace the Node
- Look for alternative custom nodes with similar functionality
- Check the ComfyUI Registry for alternatives
Option 3: Report the Issue
Contact the custom node developer:
- Find the node’s GitHub repository
- Create an issue with:
- Your ComfyUI version
- Error messages/logs
- Steps to reproduce
- Your operating system
Option 4: Remove or Disable the Node
If no fix is available and you don’t need the functionality:
- Remove the problematic node from
custom_nodes/
or disable it in the ComfyUI Manager interface - Restart ComfyUI
Reporting Issues
If the issue isn’t caused by custom nodes, refer to the general troubleshooting overview for other common problems.
For Custom Node-Specific Issues
Contact the custom node developer:
- Find the node’s GitHub repository
- Create an issue with your ComfyUI version, error messages, reproduction steps, and OS
- Check the node’s documentation and Issues page for known issues
For ComfyUI Core Issues
- GitHub: ComfyUI Issues
- Forum: Official ComfyUI Forum
For Desktop App Issues
- GitHub: ComfyUI Desktop Issues
For Frontend Issues
- GitHub: ComfyUI Frontend Issues
For general installation, model, or performance issues, see our troubleshooting overview and model issues pages.