icons icon indicating copy to clipboard operation
icons copied to clipboard

Error installing package in NextJs app 15.0.0

Open rushidshinde opened this issue 1 year ago • 3 comments

Got this error while installing

PS C:\Rushi\Home\learn\nextjs\newblogsite> npm i @radix-ui/react-icons 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/react npm error react@"19.0.0-rc-65a56d0e-20241020" from the root project npm error npm error Could not resolve dependency: npm error peer react@"^16.x || ^17.x || ^18.x" from @radix-ui/[email protected] npm error node_modules/@radix-ui/react-icons npm error @radix-ui/react-icons@"*" 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\rushi\AppData\Local\npm-cache_logs\2024-10-22T14_16_16_835Z-eresolve-report.txt npm error A complete log of this run can be found in: C:\Users\rushi\AppData\Local\npm-cache_logs\2024-10-22T14_16_16_835Z-debug-0.log

Log report file: 2024-10-22T14_16_16_835Z-eresolve-report.txt

image

Package.json file:

{ "name": "newblogsite", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint" }, "dependencies": { "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "lucide-react": "^0.453.0", "next": "15.0.0", "react": "19.0.0-rc-65a56d0e-20241020", "react-dom": "19.0.0-rc-65a56d0e-20241020", "tailwind-merge": "^2.5.4", "tailwindcss-animate": "^1.0.7" }, "devDependencies": { "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", "eslint": "^8", "eslint-config-next": "15.0.0", "postcss": "^8", "tailwindcss": "^3.4.1", "typescript": "^5" } }

rushidshinde avatar Oct 22 '24 14:10 rushidshinde

Same issue here.

kamami avatar Oct 23 '24 11:10 kamami

Same issue here.

zhoupb01 avatar Oct 23 '24 14:10 zhoupb01

This PR will resolve this: https://github.com/radix-ui/icons/pull/184

lukas-cc avatar Oct 23 '24 17:10 lukas-cc

Please merge this PR to fix the issue https://github.com/radix-ui/icons/pull/184

priyeshghamandi avatar Oct 27 '24 12:10 priyeshghamandi

The PR https://github.com/radix-ui/icons/pull/184 was opened on Aug 26, today is Oct 29 and it's still not merged, can you imagine the number of projects affected from this :(

napstar-420 avatar Oct 29 '24 11:10 napstar-420

Closed by https://github.com/radix-ui/icons/pull/184. You can run npm install --force or use legacy peer deps until the next release.

chaance avatar Oct 30 '24 04:10 chaance