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.

Linked to gradio-app/gradio#9271
Steps to Reproduce (for bugs)
- Create a new Gradio custom component using
gradio cc create MyComponent --template SimpleTextbox.
- Change the directory with
cd mycomponent.
- 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.