-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error following custom components docs gradio cc dev (virtual:component-loader) #8661
Comments
The same for me on windows 11 and Wsl2. Node 18 and Node 20 Python 3.10 and 3.12 always the same error. This kind of error doesn't appear only using Button as template. #8669 |
@pngwn looks like it could be related to the chatbot changes related to loading components? The issue does not happen in version 4.36.1 |
this issue still happend in gradio version 4.36.1 |
I can't repro on 4.36.1 with the textbox template! |
This error does not occur if |
Work only with Button template, with other template component no, Textbox too. |
Describe the bug
I am following documentation for creating Custom Components on MacOS and getting the following error after running "gradio cc dev" step: "Internal server error: Failed to resolve import "virtual:component-loader" from "frontend/node_modules/@gradio/utils/src/utils.ts?v=365c25ca". Does
the file exist?". The file "utils.ts" does exists in the node_modules directory. The error seems to point to Vite virtual modules that may be is not configured properly.
Have you searched existing issues? 🔎
Reproduction
Screenshot
Logs
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: