Closed Sujood-Qureshi closed 1 week ago
Can you verify to install other ui? I believe it will also fail. Im facing the same issue, yesterday I successfully migrated from 14 to next 15 and just today everything fails
Use shadcn@2.1.3 instead: npx shadcn@2.1.3 add sidebar-05
Can you verify to install other ui? I believe it will also fail. Im facing the same issue, yesterday I successfully migrated from 14 to next 15 and just today everything fails
Yes it failed for other ui components too. but for now to resolve this error i just downgraded my react and react-dom version from 19 to 18. Although react18 is working good with NextJs 15.
I'm going to temporarily bring back the npm flags. Let's track in https://github.com/shadcn-ui/ui/issues/5557 please.
Describe the bug
when installing sidebar-5 components using
npx shadcn@latest add sidebar-05
getting the error related to --legacy-peer-deps. When using cli command it should ask to use --force or --legacy-peer-deps but its not asking for it.Affected component/components
sidebar-5 (block)
How to reproduce
npx shadcn@latest add sidebar-05
.Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting