[bug]: Error ENOENT: spawn cd ENOENT when initializing Next.js monorepo project #7086
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug
Bug Description
When trying to initialize a new Next.js monorepo project using shadcn CLI, the process fails with an ENOENT error related to the
cd
command.Additional Context
The error suggests that the CLI is trying to use
cd
as an executable command rather than using Node.js'sprocess.chdir()
method or handling directory changes appropriately.Affected component/components
none
How to reproduce
pnpm dlx shadcn@latest init
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting
The text was updated successfully, but these errors were encountered: