-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - Progress #4400
Comments
I couldn't reproduce the issue (tried npm i and also nextui cli). Can you try removing your node_modules and do it again? also can you provide your package.json? |
Thanks for the response! I already tried removing node_modules but the issue persists. Here is the package.json:
|
I think the reason is you are trying to add the latest progress component while this requires |
NextUI Version
2.2.1
Describe the bug
`$ npm i @nextui-org/progress
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: apollo@0.1.0
npm error Found: @nextui-org/system@2.2.1
npm error node_modules/@nextui-org/system
npm error @nextui-org/system@"2.2.1" from @nextui-org/aria-utils@2.0.20
npm error node_modules/@nextui-org/aria-utils
npm error @nextui-org/aria-utils@"2.0.20" from @nextui-org/autocomplete@2.1.1
npm error node_modules/@nextui-org/autocomplete
npm error @nextui-org/autocomplete@"^2.1.1" from the root project
npm error @nextui-org/aria-utils@"2.0.20" from @nextui-org/date-picker@2.1.1
npm error node_modules/@nextui-org/date-picker
npm error @nextui-org/date-picker@"^2.0.7" from the root project
npm error 4 more (@nextui-org/dropdown, @nextui-org/listbox, ...)
npm error peer @nextui-org/system@">=2.0.0" from @nextui-org/autocomplete@2.1.1
npm error node_modules/@nextui-org/autocomplete
npm error @nextui-org/autocomplete@"^2.1.1" from the root project
npm error 40 more (@nextui-org/button, @nextui-org/avatar, ...)
npm error
npm error Could not resolve dependency:
npm error @nextui-org/progress@"" from the root project
npm error
npm error Conflicting peer dependency: @nextui-org/system@2.4.4
npm error node_modules/@nextui-org/system
npm error peer @nextui-org/system@">=2.4.0" from @nextui-org/progress@2.2.4
npm error node_modules/@nextui-org/progress
npm error @nextui-org/progress@"" 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\lfraggioli\AppData\Local\npm-cache_logs\2024-12-18T20_29_15_012Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\lfraggioli\AppData\Local\npm-cache_logs\2024-12-18T20_29_15_012Z-debug-0.log
lfraggioli@NB0163 MINGW64 ~/OneDrive - Centaurus/Escritorio/Code/apollo (feature/SVT1249-LegajoDigitalLayout)
$ ^C
lfraggioli@NB0163 MINGW64 ~/OneDrive - Centaurus/Escritorio/Code/apollo (feature/SVT1249-LegajoDigitalLayout)
$ npx nextui-cli@latest add progress
Need to install the following packages:
nextui-cli@0.5.0
Ok to proceed? (y) y
NextUI CLI v0.5.0
✔ Components data updated successfully!
Adding required dependencies: @nextui-org/progress
npm install @nextui-org/progress
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: apollo@0.1.0
npm error Found: @nextui-org/system@2.2.1
npm error node_modules/@nextui-org/system
npm error @nextui-org/system@"2.2.1" from @nextui-org/aria-utils@2.0.20
npm error node_modules/@nextui-org/aria-utils
npm error @nextui-org/aria-utils@"2.0.20" from @nextui-org/autocomplete@2.1.1
npm error node_modules/@nextui-org/autocomplete
npm error @nextui-org/autocomplete@"^2.1.1" from the root project
npm error @nextui-org/aria-utils@"2.0.20" from @nextui-org/date-picker@2.1.1
npm error node_modules/@nextui-org/date-picker
npm error @nextui-org/date-picker@"^2.0.7" from the root project
npm error 4 more (@nextui-org/dropdown, @nextui-org/listbox, ...)
npm error peer @nextui-org/system@">=2.0.0" from @nextui-org/autocomplete@2.1.1
npm error node_modules/@nextui-org/autocomplete
npm error @nextui-org/autocomplete@"^2.1.1" from the root project
npm error 40 more (@nextui-org/button, @nextui-org/avatar, ...)
npm error
npm error Could not resolve dependency:
npm error @nextui-org/progress@"" from the root project
npm error
npm error Conflicting peer dependency: @nextui-org/system@2.4.4
npm error node_modules/@nextui-org/system
npm error peer @nextui-org/system@">=2.4.0" from @nextui-org/progress@2.2.4
npm error node_modules/@nextui-org/progress
npm error @nextui-org/progress@"" 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.`
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
Unexpected error with this component, I often use NextUI components and it's the first time that happened to me.
Screenshots or Videos
No response
Operating System Version
Windows 11
Browser
Chrome
The text was updated successfully, but these errors were encountered: