Comfy-Org / Comfy-Org/ComfyUI_frontend

Convert to group Node : not working properly

Open
#6,445 1 comment 0 reactions 0 assignees View on GitHub
area:group-nodes Potential Bug
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

When selecting nodes to convert the node workflow is saved but the grouped node do not appear.

Trying to create the groupNode are trying to add the groupNode to the workflow trigger the same error

```
#litegraph.core.js:437
TypeError: Cannot read properties of undefined (reading '0')
at new ComfyNode (app.js:1680:50)
at Object.createNode (litegraph.core.js:435:28)
at GroupNodeHandler.fromNodes (groupNode.js:1190:31)
at async HTMLDivElement.callback (groupNode.js:1210:12)
```

I tried to fix this issue, but something is slipping away to me

---

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

Original issue was created by @MaraScott at 2024-06-24T13:09:50.000Z

**Original Comments:**

@wanglaofei:

Same question, any solutions? Thanks a lot!

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6445-Convert-to-group-Node-not-working-properly-29c6d73d365081de90bbd5ff15cfcbae) 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.