In the svelte framework I installed Shadcn UI library and installed three of it's components but now when I try to install any other library it gives me this error.
Component.json file looks like this -
{
"$schema": "https://shadcn-svelte.com/schema.json",
"style": "default",
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app.css",
"baseColor": "slate"
},
"aliases": {
"components": "$lib/components",
"utils": "$lib/utils"
},
"typescript": true
}
I deleted node package, package-lock.json and reinstalled all and also installed shadcn again but it doesn't solves my issue.
I changed my theme.ts file but I don't think it has to do something with the issue.
I've got same problem when occasionally tried to instal shadcn component not shadcn svelte component on my svelte project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With