[bug]: something went wrong while using this : npx shadcn@latest add calendar #6253
Open
2 tasks done
Labels
bug
Something isn't working
Describe the bug
link-to-any@192 aakkaa-main % npx shadcn@latest add calendar
✔ 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: npm install [email protected] date-fns @radix-ui/react-slot
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/date-fns
npm error date-fns@"^4.1.0" from the root project
npm error
npm error Could not resolve dependency:
npm error 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
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/link-to-any/.npm/_logs/2025-01-03T02_52_59_360Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/link-to-any/.npm/_logs/2025-01-03T02_52_59_360Z-debug-0.log
Affected component/components
calender
How to reproduce
i dont know
Codesandbox/StackBlitz link
ok
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: