ui: [bug]: Canary monorepo CLI ENOENT error

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

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 10
  • Comments: 18

Most upvoted comments

Taking a look. Will see if I can reproduce.