sek-consulting / solid-ui

Beautifully designed components. Built with Kobalte & corvu. Styled with Tailwind CSS.
https://www.solid-ui.com
MIT License
680 stars 25 forks source link

[CLI] Something went wrong while creating your components. #48

Closed xehpuk closed 4 months ago

xehpuk commented 6 months ago
npx solidui-cli add chart
Need to install the following packages:
solidui-cli@0.3.0
Ok to proceed? (y) y
│
◇
│
■  Something went wrong while creating your components. Have you ran solidui-cli init?

Yes, I have.

xehpuk commented 6 months ago

Problem found: It's charts. 🙄

Maybe improve the error message?

sek-consulting commented 6 months ago

Thanks for the feedback. I really want to move away from charts.js anyway but I'm not sure when I'll have the time to do so.

But as for the error message I'll take a look. Shouldn't be too much work to do.

ZanzyTHEbar commented 6 months ago

Little plug here - but i helped on the solid-charts might be worth using that wrapper instead of the raw chartsjs?

sek-consulting commented 5 months ago

Little plug here - but i helped on the solid-charts might be worth using that wrapper instead of the raw chartsjs?

Thanks for the link. I'll look into it but I'm thinking about moving to apexcharts or another library cause I can't really specify the colorschema for charts.js.

/edit: just a note for my future self: https://github.com/nagix/chartjs-plugin-colorschemes/blob/master/src/plugins/plugin.colorschemes.js

sek-consulting commented 4 months ago

Sorry for the long delay, but I finally found the spare time to have an indepth look into the charts component and I nearly completely remade it. The issues should be fixed now.