Skip to content

Unable to install via npx shadcn@latest add calendar #2512

Answered by gpbl
nborsh asked this question in Support
Discussion options

You must be logged in to vote

@nborsh it looks like that you need to install the previous version to make it working with shadcn:

peer date-fns@"^2.28.0 || ^3.0.0" from [email protected]
npm error node_modules/ react-day-picker
npm error
react-day-picker@"8.10.1" from the root project

Try with a pnpm install react-day-picker@8...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gpbl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2508 on October 05, 2024 18:45.