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
When we tried to install the calender, it crashed with error, Screenshot attached
I am the only one who is facing this issue? Any hack for this? @shadcn ?
Affected component/components
calender
How to reproduce
npx shadcn@latest add calendar
Codesandbox/StackBlitz link
No response
Logs
0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js
1 info using [email protected]
2 info using [email protected]
3 silly config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc
4 silly config:load:file:D:\Projects\mern\templates\octal-admin-v2-new\.npmrc
5 silly config:load:file:C:\Users\manishp\.npmrc
6 silly config:load:file:C:\Users\manishp\AppData\Roaming\npm\etc\npmrc
7 verbose title npm install [email protected] date-fns @radix-ui/react-slot
8 verbose argv "install""[email protected]""date-fns""@radix-ui/react-slot"
9 verbose logfile logs-max:10 dir:C:\Users\manishp\AppData\Local\npm-cache\_logs\2024-10-23T06_42_43_744Z-
10 verbose logfile C:\Users\manishp\AppData\Local\npm-cache\_logs\2024-10-23T06_42_43_744Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 silly logfile done cleaning log files
13 silly idealTree buildDeps
14 silly fetch manifest @radix-ui/react-slot@^1.1.0
15 http fetch GET 200 https://registry.npmjs.org/@radix-ui%2freact-slot 210ms (cache revalidated)
16 silly fetch manifest @types/react@^18
17 http fetch GET 200 https://registry.npmjs.org/@types%2freact 92ms (cache revalidated)
18 silly fetch manifest react@^18
19 http fetch GET 200 https://registry.npmjs.org/react 52ms (cache revalidated)
20 silly fetch manifest date-fns@^4.1.0
21 http fetch GET 200 https://registry.npmjs.org/date-fns 44ms (cache revalidated)
22 silly fetch manifest [email protected]
23 http fetch GET 200 https://registry.npmjs.org/react-day-picker 75ms (cache revalidated)
24 silly fetch manifest date-fns@^2.28.0 || ^3.0.0
25 verbose stack Error: unable to resolve dependency tree
25 verbose stack at #failPeerConflict (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:1386:25)
25 verbose stack at #loadPeerSet (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:1352:33)
25 verbose stack at async #buildDepStep (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:923:11)
25 verbose stack at async Arborist.buildIdealTree (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:203:7)
25 verbose stack at async Promise.all (index 1)
25 verbose stack at async Arborist.reify (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\reify.js:131:5)
25 verbose stack at async Install.exec (C:\Program Files\nodejs\node_modules\npm\lib\commands\install.js:150:5)
25 verbose stack at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli\entry.js:74:5)
26 verbose cwd D:\Projects\mern\templates\octal-admin-v2-new
27 verbose Windows_NT 10.0.22631
28 verbose node v18.20.4
29 verbose npm v10.7.0
30 error code ERESOLVE
31 error ERESOLVE unable to resolve dependency tree
32 error
33 error While resolving: [email protected]
33 error Found: [email protected]
33 error node_modules/date-fns
33 error date-fns@"^4.1.0" from the root project
33 error
33 error Could not resolve dependency:
33 error peer date-fns@"^2.28.0 || ^3.0.0" from [email protected]
33 error node_modules/react-day-picker
33 error react-day-picker@"8.10.1" from the root project
33 error
33 error Fix the upstream dependency conflict, or retry
33 error this command with --force or --legacy-peer-deps
33 error to accept an incorrect (and potentially broken) dependency resolution.
34 error
34 error
34 error For a full report see:
34 error C:\Users\manishp\AppData\Local\npm-cache\_logs\2024-10-23T06_42_43_744Z-eresolve-report.txt
35 verbose exit 1
36 verbose code 1
37 silly unfinished npm timer reify 1729665764139
38 silly unfinished npm timer reify:loadTrees 1729665764142
39 silly unfinished npm timer idealTree:buildDeps 1729665764385
40 silly unfinished npm timer idealTree:#root 1729665764385
41 error A complete log of this run can be found in: C:\Users\manishp\AppData\Local\npm-cache\_logs\2024-10-23T06_42_43_744Z-debug-0.log
System Info
Windows 11
VScode
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
Describe the bug
When we tried to install the calender, it crashed with error, Screenshot attached
I am the only one who is facing this issue? Any hack for this? @shadcn ?
Affected component/components
calender
How to reproduce
npx shadcn@latest add calendar
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting
The text was updated successfully, but these errors were encountered: