Closed eugenenelou closed 3 months ago
Hi, I encountered a problem when trying to run the CLI command to add components.
It is returning me this error:
┌ Park UI v0.7.1 │ ◇ Info ──────────────────────────────────────────────────────────────────────────────╮ ┌ Park UI v0.7.1 │ ◇ An error occurred │ ◇ Error Details ───────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ │ │ (FiberFailure) Error: { readonly compilerOptions: { readonly paths: { readonly [x: string]: ReadonlyArray<string> } } } │ │ └─ ["compilerOptions"] │ │ └─ { readonly paths: { readonly [x: string]: ReadonlyArray<string> } }
I think it's related to my vite tsconfig files that is split in 2:
{ "files": [], "references": [ { "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" } ] }
If I rename tsconfig.app.json into ts.config.json, the CLI works.
tsconfig.app.json
ts.config.json
Duplicate of https://github.com/cschroeter/park-ui/issues/377
Hi, I encountered a problem when trying to run the CLI command to add components.
It is returning me this error:
I think it's related to my vite tsconfig files that is split in 2:
If I rename
tsconfig.app.json
intots.config.json
, the CLI works.