MaximePremont / boilerplate-nextron-shadcn

Nextron ( Next.Js + Electron ) project boilerplate in TypeScript, with TailwindCSS + Shadcn/ui, web and desktop crossbuild
https://github.com/MaximePremont/boilerplate-nextron-shadcn
MIT License
9 stars 1 forks source link

Bug: fail to add shadcn accordion #65

Open pruge opened 1 week ago

pruge commented 1 week ago

Contact Details

strive1024@gmail.com

What happened ?

The shadcn button is installed well.

npx shadcn@latest add button
✔ Checking registry.
✔ Installing dependencies.
✔ Created 1 file:
  - renderer/components/ui/button.tsx

But the accordion is not installed.

npx shadcn@latest add accordion
✔ Checking registry.
⠋ Updating @/tailwind.config.js
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

ENOENT: no such file or directory, open '/Volumes/.../project/@/tailwind.config.js'

What browsers are you seeing the problem on ?

No response

What systems are you seeing the problem on ?

No response

Relevant log output

No response

Code of Conduct

MaximePremont commented 4 days ago

Hello, fthank you for your report ! There is actually a problem with the components.json file of shadcn/ui. I'm just waiting for the fix and I update the project.