ui icon indicating copy to clipboard operation
ui copied to clipboard

[bug]: cli tries to use yarn when I use pnpm

Open babakfp opened this issue 1 year ago • 1 comments

Describe the bug

 pnpm dlx shadcn@latest add drawer

✔ Checking registry.
⠋ Installing dependencies.
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Command failed with exit code 1: yarn add vaul @radix-ui/react-dialog
'yarn' is not recognized as an internal or external command,
operable program or batch file.

same happened with the init command too.

Affected component/components

How to reproduce

  1. npx shadcn@latest init -d

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

i don't have yarn installed.

Before submitting

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

babakfp avatar Nov 12 '24 17:11 babakfp

This issue has been automatically marked as stale due to one year of inactivity. It will be closed in 7 days unless there’s further input. If you believe this issue is still relevant, please leave a comment or provide updated details. Thank you. (This is an automated message)

shadcn avatar Nov 12 '25 23:11 shadcn

This issue has been automatically closed due to one year of inactivity. If you’re still experiencing a similar problem or have additional details to share, please open a new issue following our current issue template. Your updated report helps us investigate and address concerns more efficiently. Thank you for your understanding! (This is an automated message)

shadcn avatar Nov 20 '25 23:11 shadcn