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
I've tried the new Canary CLI monorepo to initialize a new project and add a component, but the dependencies are being installed in the wrong location. They are being installed in the web application instead of the ui package.
Affected component/components
All
How to reproduce
Initialize a new project using the Shadcn CLI with monorepo:
pnpm dlx shadcn@canary init
1.2 Picking the monorepo option
? Would you like to start a new project?
Next.js
❯ Next.js (Monorepo)
Add a component to the project (e.g., a button or dialog).
pnpm dlx shadcn@latest add dialog -c apps/web
Run pnpm install
pnpm i
Observe that the Radix packages are either missing or not installed in the incorrect place.
Describe the bug
I've tried the new Canary CLI monorepo to initialize a new project and add a component, but the dependencies are being installed in the wrong location. They are being installed in the web application instead of the ui package.
Affected component/components
All
How to reproduce
1.2 Picking the monorepo option
Codesandbox/StackBlitz link
https://codesandbox.io/p/github/davidFeldqwe/mono-repo-shadcn-demo/main?import=true
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: