Shadcn does not work

when I do pnpm dlx shadcn@latest add collapsible

it throws an error

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: pnpm add @radix-ui/react-collapsible
spawn pnpm ENOENT

running pnpm add @radix-ui/react-collapsible alone works fine