Comfy-Org / Comfy-Org/ComfyUI_frontend

Loading aborted due to error reloading workflow data TypeError: Cannot read properties of undefined (reading 'find')

Open
#7,486 2 comments 0 reactions 0 assignees View on GitHub
area:workflows Custom Node
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Custom Node Testing

- [ ] 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

Loading aborted due to error reloading workflow data
TypeError: Cannot read properties of undefined (reading 'find')

# ComfyUI Error Report
## Error Details
- **Node ID:** N/A
- **Node Type:** N/A
- **Exception Type:** Loading aborted due to error reloading workflow data
- **Exception Message:** TypeError: Cannot read properties of undefined (reading 'find')
## Stack Trace
```
TypeError: Cannot read properties of undefined (reading 'find')
at nodeType.onNodeCreated (http://127.0.0.1:8188/extensions/ComfyUI_PaintingCoderUtils/js/mask_preview.js:16:53)
at nodeType.onNodeCreated (http://127.0.0.1:8188/extensions/comfyui_prompt_assistant/index.js:227:35)
at nodeType.onNodeCreated (http://127.0.0.1:8188/extensions/Comfyui_Free_API/role_tree_menu.js:306:32)
at node.onNodeCreated (http://127.0.0.1:8188/extensions/ComfyUI-Flux-Continuum/tabs.js:292:51)
at LiteGraphGlobal.createNode (http://127.0.0.1:8188/assets/index-C__8rpfm.js:58:240743)
at LGraph.configure (http://127.0.0.1:8188/assets/index-C__8rpfm.js:58:227269)
at LGraph.configure (http://127.0.0.1:8188/assets/index-C__8rpfm.js:249:8254)
at LGraph.configure (http://127.0.0.1:8188/extensions/ComfyUI-Custom-Scripts/js/reroutePrimitive.js:14:29)
at LGraph.configure (http://127.0.0.1:8188/extensions/comfyui_prompt_assistant/index.js:105:38)
at ComfyApp.loadGraphData (http://127.0.0.1:8188/assets/index-C__8rpfm.js:249:15022)
```
## System Information
- **ComfyUI Version:** 0.4.0
- **Arguments:** ComfyUI\main.py --windows-standalone-build --disable-metadata --max-upload-size 1000
- **OS:** win32
- **Python Version:** 3.10.18 | packaged by Anaconda, Inc. | (main, Jun 5 2025, 13:08:55) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** true
- **PyTorch Version:** 2.7.0+cu128
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 4070 Laptop GPU : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 8585216000
- **VRAM Free:** 7356678144
- **Torch VRAM Total:** 33554432
- **Torch VRAM Free:** 25034752

### Actual Behavior

Loading aborted due to error reloading workflow data
TypeError: Cannot read properties of undefined (reading 'find')

### Steps to Reproduce

Loading aborted due to error reloading workflow data
TypeError: Cannot read properties of undefined (reading 'find')

### Debug Logs

```powershell
Loading aborted due to error reloading workflow data
TypeError: Cannot read properties of undefined (reading 'find')
```

### Other

_No response_

---

*This issue is transferred from: https://github.com/comfyanonymous/ComfyUI/issues/11323*

Original issue was created by @alenhrp at 2025-12-14T16:26:00.000Z

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-7486-Loading-aborted-due-to-error-reloading-workflow-data-TypeError-Cannot-read-properties-2ca6d73d365081d6a8d4d382f049680a) by [Unito](https://www.unito.io)

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.