[bug]: cli tries to use yarn when I use pnpm
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
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
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)
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)