Skip to content

Error Encountered After Running gradio cc dev for Custom Component #2

@sanidhyy

Description

@sanidhyy

Description

I was following the Gradio custom component quickstart guide.

When trying to run gradio cc dev, I encountered this error when opening the frontend on localhost.

image

Linked to gradio-app/gradio#9271

Steps to Reproduce (for bugs)

  1. Create a new Gradio custom component using gradio cc create MyComponent --template SimpleTextbox.
  2. Change the directory with cd mycomponent.
  3. Start the dev server using gradio cc dev.

Environment

  • OS: Windows 10
  • Browser: Chrome
  • Node.js version: 20.12.2
  • Python version: 3.12.5
  • Gradio version: 4.42.0

What I've Tried

  • Running gradio cc dev --python-path <path-to-python-executable> --gradio-path <path-to-gradio-executable>. It got stuck on loading and still shows the same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions