Open waleed-taher opened 16 hours ago
same here - but in my case, even more basic, just installing shadcn on a fresh install of nextjs15
✔ Updating app/globals.css
⠋ Installing dependencies.
⠦ 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 tailwindcss-animate class-variance-authority lucide-react @radix-ui/react-icons clsx tailwind-merge
npm warn idealTree Removing dependencies.tailwindcss-animate in favor of devDependencies.tailwindcss-animate
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: nextjs15_test@0.1.0
npm error Found: react@19.0.0-rc-65a56d0e-20241020
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/react-icons@1.3.0
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.
'''
Describe the bug
unable to install next-themes with next 15
Affected component/components
next-themes
How to reproduce
npm install next-themes
will give out an error if a project is upgrading to react-19-rc and next 15
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting