Replies: 1 comment
-
Remove root file |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On trying to add components which use radix-ui, I get the following error:
I am using a system which has only npm installed on it, however I have not faced this issue in previous projects built with shadcn/ui.
I can manually install the dependencies and add the component code. However, is it necessary to only use pnpm now with the new CLI for adding components which have external dependencies?
Can be reproduced on systems without npm with:
npx shadcn@latest add <components_with_external_dependencies>
Example components can be: Command, Avatar, Popover, etc. (anything which has a radix-ui dependency I suppose)
Beta Was this translation helpful? Give feedback.
All reactions