We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using NextJS RC.0 with NextIntl 3.17.2. Everything works as expected so far.
However - due to dependency specifications I get the following error when I try to install things (ex: npx shadcn-ui@latest add avatar):
Command failed with exit code 1: npm install @radix-ui/react-avatar npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: next-intl@3.17.2 npm ERR! Found: next@15.0.0-rc.0 npm ERR! node_modules/next npm ERR! peer next@"^14.0.0 || ^15.0.0-rc.0" from next-firebase-auth-edge@1.7.0-canary.6 npm ERR! node_modules/next-firebase-auth-edge npm ERR! next-firebase-auth-edge@"^1.7.0-canary.6" from the root project npm ERR! next@"15.0.0-rc.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer next@"^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0" from next-intl@3.17.2 npm ERR! node_modules/next-intl npm ERR! next-intl@"^3.17.2" from the root project npm ERR! npm ERR! Conflicting peer dependency: next@14.2.5 npm ERR! node_modules/next npm ERR! peer next@"^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0" from next-intl@3.17.2 npm ERR! node_modules/next-intl npm ERR! next-intl@"^3.17.2" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! /Users/velinkerkov/.npm/_logs/2024-08-11T08_03_31_829Z-eresolve-report.txt npm ERR! A complete log of this run can be found in: /Users/velinkerkov/.npm/_logs/2024-08-11T08_03_31_829Z-debug-0.log
Please specify through the dependencies that this package works with NextJS RC.0.
When I am installing packages I use --legacy-peer-deps until this is fixed.
--legacy-peer-deps
The text was updated successfully, but these errors were encountered:
Adding React RC versions to peerDependencies is unfortunately not that straightforward: https://x.com/phry/status/1811070395879149682.
peerDependencies
I think for now the best option is to use --legacy-peer-deps and bump the peer dependency version once React 19 stable is out.
Sorry, something went wrong.
I'm going to close this in favor of #1075
No branches or pull requests
Is your feature request related to a problem? Please describe.
I am using NextJS RC.0 with NextIntl 3.17.2. Everything works as expected so far.
However - due to dependency specifications I get the following error when I try to install things (ex: npx shadcn-ui@latest add avatar):
Describe the solution you'd like
Please specify through the dependencies that this package works with NextJS RC.0.
Describe alternatives you've considered
When I am installing packages I use
--legacy-peer-deps
until this is fixed.The text was updated successfully, but these errors were encountered: