You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Command failed with exit code 1: npm install [email protected] date-fns @radix-ui/react-slot
(node:10300) ExperimentalWarning: CommonJS module C:\Users\ashiq\AppData\Roaming\npm\node_modules\npm\node_modules\debug\src\node.js is loading ES Module C:\Users\ashiq\AppData\Roaming\npm\node_modules\npm\node_modules\supports-color\index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
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 C:\Users\ashiq\AppData\Local\npm-cache\_logs\2025-01-20T04_56_16_522Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\ashiq\AppData\Local\npm-cache\_logs\2025-01-20T04_56_16_522Z-debug-0.log
Expected Behavior
No response
Steps To Reproduce
npx shadcn@latest add calendar
Environment
npm: 11.0.0
Node.js: 23.3.0
OS Name: Windows 10
System Model Name: Dell latitude 7480
npm config:
; "builtin" config from C:\Users\ashiq\AppData\Roaming\npm\node_modules\npm\npmrcprefix = "C:\\Users\\ashiq\\AppData\\Roaming\\npm"; node bin location = C:\Program Files\nodejs\node.exe; node version = v23.3.0; npm local prefix = C:\Users\ashiq\work\resolve-dashboard; npm version = 11.0.0; cwd = C:\Users\ashiq\work\resolve-dashboard; HOME = C:\Users\ashiq; Run `npm config ls -l` to show all defaults.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
i found error on console:
Expected Behavior
No response
Steps To Reproduce
npx shadcn@latest add calendar
Environment
The text was updated successfully, but these errors were encountered: