unable to generate custom components using @sapphire/cli
.sapphirerc.json
templates/builder.tsx.sapphire
Solution:Jump to solution
FWIW btw, development on the new version of the CLI has started in #cli-development
8 Replies
Idk if "tsx" is a supported file type
Maybe change the file name to builder.ts.sapphire
i dont care, ts doesn't worked either
thats why im asking
in guide ^^
Yeah. And iirc the only languages are js and ts to my knowledge
U used "builders" as the name in your screenshot
And you named the file "builder"
If that doesn't work then something is wrong with your file structure
i tried with all singular names aswell as all plural names
nothing works
tsx is definitely not supported btw. This is a typescript node app, not a react frontend app.
Anyway I'll look into it ig
still cannot generate ts file extension components
i tried to generate database as component
yeah I'm sorry I havent got around this yet
Solution
FWIW btw, development on the new version of the CLI has started in #cli-development