Unable to generate JSON output from React JSX using Mitosis CLI - "no matching output target for 'builder'" #1560
Unanswered
johann-taberlet
asked this question in
Q&A
Replies: 1 comment 1 reply
-
While digging a bit deeper into the issue I encountered with the builder target, I took a look at the Mitosis core source code and noticed that builder is not listed as a valid output target, even though the CLI help function includes it as a valid option:
As a workaround, I manually added builder to the targets in the source code, and now everything works as expected. That said, I’m sure I might be missing something here, as I’m still a beginner compared to the awesome team who developed this CLI. Any clarification would be greatly appreciated! Thanks a lot for your hard work and for taking the time to help! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm currently experimenting with the Mitosis CLI to evaluate its potential for one of my side projects. Specifically, I'm trying to generate JSON output from a React JSX file but ran into an issue when specifying the output target.
Here’s the command I used:
However, the CLI returns the following error:
component.jsx:
It seems like the builder target is not recognized. Has anyone else encountered this or have any idea what might be going wrong?
I’ve checked the documentation but couldn’t find any specific guidance on this. Any help or suggestions would be greatly appreciated!
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions