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
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: