Skip to content

[bug]: Canary monorepo CLI ENOENT error #6187

@innovations-dev

Description

@innovations-dev

Describe the bug

The followin error occurs after running the cli install command:
pnpm dlx shadcn@canary init

✖ Something went wrong creating a new Next.js monorepo.
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Command failed with ENOENT: cd /home/gsdev/dev/w82
spawn cd ENOENT

NOTE: The monorepo seems to install but only apps/web gets installed. I also tested this on an M1 mac and that worked fine.

Affected component/components

n/a

How to reproduce

  1. Install using the command provided in the monorepo docs: pnpm dlx shadcn@canary init
  2. Complete install wizard
  3. Error is thrown shortly after

Codesandbox/StackBlitz link

n/a

Logs

No response

System Info

Windows 11, WSL, Ubuntu 24.04

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions