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.
New contributor
Nikhil Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.