Comfy-Org / Comfy-Org/ComfyUI

无法执行,因为节点缺少 class_type 属性。: 节点 ID “#1”

Open
#8,847 1 comment 0 reactions 0 assignees View on GitHub
bug-cop:answered Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

# ComfyUI 错误报告
## 错误详情
- 节点 ID:N/A
- 节点类型:N/A
- **Exception Type:** 提示执行失败
- **异常消息:** 无法执行,因为节点缺少 class_type 属性。: 节点 ID '#1'
## 堆栈跟踪
```
错误:提示执行失败
在 ComfyApi.queuePrompt (http://127.0.0.1:8188/assets/index-CWzmkThr.js:121273:13)
at async ComfyApi.queuePrompt_with_seed (http://127.0.0.1:8188/extensions/comfyui-easy-use/assets/extensions-CvRfBMyE.js:1:180845)
at async ComfyApi.queuePrompt_with_widget_idxs (http://127.0.0.1:8188/extensions/comfyui-inspire-pack/prompt.js:292:9)
在异步 PromptService.api.queuePrompt (http://127.0.0.1:8188/rgthree/common/prompt_service.js:88:28)
在异步 ComfyApp.queuePrompt (http://127.0.0.1:8188/assets/index-CWzmkThr.js:275920:25)
在 async app.queuePrompt (http://127.0.0.1:8188/extensions/rgthree-comfy/rgthree.js:464:24)
at 异步函数 (http://127.0.0.1:8188/assets/GraphView-BXiTAe2v.js:6886:9)
at async http://127.0.0.1:8188/assets/index-CWzmkThr.js:207325:14
at async Proxy.execute (http://127.0.0.1:8188/assets/index-CWzmkThr.js:208969:7)
在 async queuePrompt (http://127.0.0.1:8188/assets/GraphView-BXiTAe2v.js:5324:7)
```
## 系统信息
- **ComfyUI 版本:** 0.3.43
- **参数:** ComfyUI\main.py --windows-standalone-build
- **作系统:** nt
- **Python 版本:** 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
- **嵌入式 Python:** true
- PyTorch 版本:2.7.1+cu128
## 设备

- **名称:** cuda:0 NVIDIA GeForce RTX 4060 笔记本电脑 GPU : cudaMallocAsync
- **类型:** cuda
- **VRAM 总计:** 8585216000
- **VRAM 免费:** 7443841024
- **Torch VRAM 总数:** 0
- **Torch VRAM 免费版:** 0

### Actual Behavior

无法执行,因为节点缺少 class_type 属性。: 节点 ID “#1”

### Steps to Reproduce

无法执行

### Debug Logs

```powershell
# ComfyUI 错误报告
## 错误详情
- 节点 ID:N/A
- 节点类型:N/A
- **Exception Type:** 提示执行失败
- **异常消息:** 无法执行,因为节点缺少 class_type 属性。: 节点 ID '#1'
## 堆栈跟踪

错误:提示执行失败
在 ComfyApi.queuePrompt (http://127.0.0.1:8188/assets/index-CWzmkThr.js:121273:13)
at async ComfyApi.queuePrompt_with_seed (http://127.0.0.1:8188/extensions/comfyui-easy-use/assets/extensions-CvRfBMyE.js:1:180845)
at async ComfyApi.queuePrompt_with_widget_idxs (http://127.0.0.1:8188/extensions/comfyui-inspire-pack/prompt.js:292:9)
在异步 PromptService.api.queuePrompt (http://127.0.0.1:8188/rgthree/common/prompt_service.js:88:28)
在异步 ComfyApp.queuePrompt (http://127.0.0.1:8188/assets/index-CWzmkThr.js:275920:25)
在 async app.queuePrompt (http://127.0.0.1:8188/extensions/rgthree-comfy/rgthree.js:464:24)
at 异步函数 (http://127.0.0.1:8188/assets/GraphView-BXiTAe2v.js:6886:9)
at async http://127.0.0.1:8188/assets/index-CWzmkThr.js:207325:14
at async Proxy.execute (http://127.0.0.1:8188/assets/index-CWzmkThr.js:208969:7)
在 async queuePrompt (http://127.0.0.1:8188/assets/GraphView-BXiTAe2v.js:5324:7)

## 系统信息
- **ComfyUI 版本:** 0.3.43
- **参数:** ComfyUI\main.py --windows-standalone-build
- **作系统:** nt
- **Python 版本:** 3.12.10 (tags/v3.12.10:0cc8128, Apr 8 2025, 12:21:36) [MSC v.1943 64 bit (AMD64)]
- **嵌入式 Python:** true
- PyTorch 版本:2.7.1+cu128
## 设备

- **名称:** cuda:0 NVIDIA GeForce RTX 4060 笔记本电脑 GPU : cudaMallocAsync
- **类型:** cuda
- **VRAM 总计:** 8585216000
- **VRAM 免费:** 7443841024
- **Torch VRAM 总数:** 0
- **Torch VRAM 免费版:** 0
```

### Other

节点冲突

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.