-
Notifications
You must be signed in to change notification settings - Fork 8
Description
When run by comfy node scaffold and React is selected as a frontend type, the resulting directory does not contain anything from the react extension template.
I'm not particularly familiar with cookiecutter, but I believe I have narrowed down the issue.
| if template_source.startswith("gh:") and frontend_type == "react": |
When run, template_source => https://github.com/Comfy-Org/cookiecutter-comfy-extension.git, which does not start with gh, so submodules are never initialized
Removing the condition template_source.startswith("gh:") correctly initializes the submodule.
I have not attempted running cookiecutter directly on the template, so perhaps the behavior is different between comfy node scaffold and cookiecutter gh:comfy-org/cookiecutter-comfy-extension
Edit 2: after looking at the cli source, cookiecutter is run on https://github.com/Comfy-Org/cookiecutter-comfy-extension.git not gh:comfy-org/cookiecutter-comfy-extension, so this may be the cause of the unexpected behavior