-
-
Notifications
You must be signed in to change notification settings - Fork 426
Open
Description
Describe the bug
When installing a newly generated theme with the command copied from the tweakcn website, the following error appears:
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
Invalid configuration found in C:\Users\...\my-app/components.json.
To Reproduce
Steps to reproduce the behavior:
- Run
pnpm dlx shadcn@latest add https://tweakcn.com/r/themes/cmcnmybji000105lb79e1druu
- Select
y
when promptedYou are about to install a new style. Existing CSS variables and components will be overwritten. Continue?
Expected behavior
The theme should be installed or, at least, a clearer cause of the error should be given.
explain your problem.
Additional context
My current components.json
is the following:
{
"$schema": "https://shadcn-svelte.com/schema.json",
"tailwind": {
"css": "src\\app.css",
"baseColor": "slate"
},
"aliases": {
"components": "$lib/components",
"utils": "$lib/utils",
"ui": "$lib/components/ui",
"hooks": "$lib/hooks",
"lib": "$lib"
},
"typescript": true,
"registry": "https://shadcn-svelte.com/registry"
}
briceallard and AbdurrahmanTalha
Metadata
Metadata
Assignees
Labels
No labels