[GH-ISSUE #1394] Workflow-metadata.js crashing bootup #571

Closed
opened 2026-10-27 21:19:08 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @nachoal on GitHub (Jan 3, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1394

When initializing a clean install of comfyui on runpod I get the following error:

ComfyUI Front-end version: 1.2.47
/api/userdata/workflows%2F.index.json:1 

Failed to load resource: the server responded with a status of 404 ()Understand this errorAI
hook.js:608 TypeError: graph.nodes is not iterable
    at WorkflowMetadataExtension.getGraphNodeVersions (workflow-metadata.js:41:30)
    at LGraph.serialize (workflow-metadata.js:77:51)
    at ChangeTracker.checkState (changeTracker.ts:51:41)
    at app2.loadGraphData (changeTracker.ts:107:12)
    at async app.loadGraphData (components-manager.js:738:10)
    at async ComfyApp.setup (app.ts:1915:7)
    at async GraphCanvas.vue:105:9
overrideMethod @ hook.js:608Understand this errorAI
/api/userdata/workflows%2F.index.json:1 
        
        
       Failed to load resource: the server responded with a status of 404 ()Understand this errorAI
3workflow-metadata.js:41 Uncaught (in promise) TypeError: graph.nodes is not iterable
    at WorkflowMetadataExtension.getGraphNodeVersions (workflow-metadata.js:41:30)
    at LGraph.serialize (workflow-metadata.js:77:51)
    at ChangeTracker.checkState (changeTracker.ts:51:41)
    at changeTracker.ts:143:27Understand this errorAI
9workflow-metadata.js:41 Uncaught TypeError: graph.nodes is not iterable
    at WorkflowMetadataExtension.getGraphNodeVersions (workflow-metadata.js:41:30)
    at LGraph.serialize (workflow-metadata.js:77:51)
    at ChangeTracker.checkState (changeTracker.ts:51:41)
    at changeTracker.ts:158:23Understand this errorAI
workflow-metadata.js:41 Uncaught (in promise) TypeError: graph.nodes is not iterable
    at WorkflowMetadataExtension.getGraphNodeVersions (workflow-metadata.js:41:30)
    at LGraph.serialize (workflow-metadata.js:77:51)
    at ChangeTracker.checkState (changeTracker.ts:51:41)
    at changeTracker.ts:143:27

Any clues on how to solve?

Originally created by @nachoal on GitHub (Jan 3, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1394 When initializing a clean install of comfyui on runpod I get the following error: ``` ComfyUI Front-end version: 1.2.47 /api/userdata/workflows%2F.index.json:1 Failed to load resource: the server responded with a status of 404 ()Understand this errorAI hook.js:608 TypeError: graph.nodes is not iterable at WorkflowMetadataExtension.getGraphNodeVersions (workflow-metadata.js:41:30) at LGraph.serialize (workflow-metadata.js:77:51) at ChangeTracker.checkState (changeTracker.ts:51:41) at app2.loadGraphData (changeTracker.ts:107:12) at async app.loadGraphData (components-manager.js:738:10) at async ComfyApp.setup (app.ts:1915:7) at async GraphCanvas.vue:105:9 overrideMethod @ hook.js:608Understand this errorAI /api/userdata/workflows%2F.index.json:1 Failed to load resource: the server responded with a status of 404 ()Understand this errorAI 3workflow-metadata.js:41 Uncaught (in promise) TypeError: graph.nodes is not iterable at WorkflowMetadataExtension.getGraphNodeVersions (workflow-metadata.js:41:30) at LGraph.serialize (workflow-metadata.js:77:51) at ChangeTracker.checkState (changeTracker.ts:51:41) at changeTracker.ts:143:27Understand this errorAI 9workflow-metadata.js:41 Uncaught TypeError: graph.nodes is not iterable at WorkflowMetadataExtension.getGraphNodeVersions (workflow-metadata.js:41:30) at LGraph.serialize (workflow-metadata.js:77:51) at ChangeTracker.checkState (changeTracker.ts:51:41) at changeTracker.ts:158:23Understand this errorAI workflow-metadata.js:41 Uncaught (in promise) TypeError: graph.nodes is not iterable at WorkflowMetadataExtension.getGraphNodeVersions (workflow-metadata.js:41:30) at LGraph.serialize (workflow-metadata.js:77:51) at ChangeTracker.checkState (changeTracker.ts:51:41) at changeTracker.ts:143:27 ``` Any clues on how to solve?
Author
Owner

@huchenlei commented on GitHub (Jan 3, 2025):

Can you try update yor ComfyUI frontend? The graph.node getter was added in https://github.com/Comfy-Org/litegraph.js/pull/145 (Step 14, 2024), while 1.2.47 frontend was published in Sept 5, 2024. https://github.com/Comfy-Org/ComfyUI_frontend/releases/tag/v1.2.47

<!-- gh-comment-id:2569811108 --> @huchenlei commented on GitHub (Jan 3, 2025): Can you try update yor ComfyUI frontend? The `graph.node` getter was added in https://github.com/Comfy-Org/litegraph.js/pull/145 (Step 14, 2024), while 1.2.47 frontend was published in Sept 5, 2024. https://github.com/Comfy-Org/ComfyUI_frontend/releases/tag/v1.2.47
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#571
No description provided.