You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin seems to be looking in the wrong location.
nx run shadcn:add sidebar --verbose
NX Command failed: npx shadcn@latest add sidebar
Error: Command failed: npx shadcn@latest add sidebar
at checkExecSyncError (node:child_process:890:11)
at execSync (node:child_process:962:15)
at /home/dan/dev/templi/ui/node_modules/@nx-extend/shadcn-ui/src/executors/add/add.impl.js:11:38
at Generator.next (<anonymous>)
at /home/dan/dev/templi/ui/node_modules/@nx-extend/shadcn-ui/node_modules/tslib/tslib.js:169:75
at new Promise (<anonymous>)
at Object.__awaiter (/home/dan/dev/templi/ui/node_modules/@nx-extend/shadcn-ui/node_modules/tslib/tslib.js:165:16)
at addExecutor (/home/dan/dev/templi/ui/node_modules/@nx-extend/shadcn-ui/src/executors/add/add.impl.js:9:20)
at runExecutorInternal (/home/dan/dev/templi/ui/node_modules/nx/src/command-line/run/run.js:98:19)
The path it is trying to create a dir is
ENOTDIR: not a directory, mkdir '/home/dan/dev/templi/ui/libs/shadcn/src/index.ts/ui'
Where my shadcn lib is at libs/shadcn an the utils lib/shadcn-utils
nx run shadcn:add progress
Nx is configured to use the legacy cache. This cache will be removed in Nx 21. Read more at https://nx.dev/deprecated/legacy-cache.
> nx run shadcn:add progress
✔ Checking registry.
✔ Installing dependencies.
⠙ Updating files.
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.
ENOTDIR: not a directory, open '/home/dan/dev/templi/ui/libs/shadcn/src/index.ts/progress.tsx'
NX Command failed: npx shadcn@latest add progress
I'm just copying and pasting the code directly from the shadcn github at the moment
The plugin seems to be looking in the wrong location.
nx run shadcn:add sidebar --verbose
The path it is trying to create a dir is
ENOTDIR: not a directory, mkdir '/home/dan/dev/templi/ui/libs/shadcn/src/index.ts/ui'
Where my shadcn lib is at libs/shadcn an the utils lib/shadcn-utils
My shadcn-utils project.json
nx.json
components.json
The text was updated successfully, but these errors were encountered: