Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid configuration found in /Users/nickk/Documents/Pioneer_Frontend/components.json

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.

like image 714
Nikhil Kumar Avatar asked Oct 30 '25 03:10

Nikhil Kumar


1 Answers

I've got same problem when occasionally tried to instal shadcn component not shadcn svelte component on my svelte project

like image 85
Little Toky Avatar answered Nov 01 '25 17:11

Little Toky