Skip to content
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

Dependency issue after upgrading to Nextjs 15 and Next-Intl 3.22 #1441

Closed
3 tasks done
levipadre opened this issue Oct 22, 2024 · 2 comments · Fixed by #1443
Closed
3 tasks done

Dependency issue after upgrading to Nextjs 15 and Next-Intl 3.22 #1441

levipadre opened this issue Oct 22, 2024 · 2 comments · Fixed by #1443
Labels
bug Something isn't working unconfirmed Needs triage.

Comments

@levipadre
Copy link

levipadre commented Oct 22, 2024

Description

Hi,

I get this error after upgrading to nextjs 15:

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/next
npm error   next@"^15.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer next@"^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0" from [email protected]
npm error node_modules/next-intl
npm error   next-intl@"^3.22.0" 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.

Verifications

  • I've verified that the problem I'm experiencing isn't covered in the docs.
  • I've searched for similar, existing issues on GitHub and Stack Overflow.
  • I've compared my app to a working example to look for differences.

Other

Operating System:
      Platform: darwin
      Arch: x64
      Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:13:00 PDT 2024; root:xnu-10063.141.2~1/RELEASE_X86_64
    Binaries:
      Node: 18.20.4
      npm: 10.9.0
      Yarn: 1.22.19
      pnpm: 9.7.0
    Relevant Packages:
      next: 13.5.1
      eslint-config-next: N/A
      react: 18.2.0
      react-dom: 18.2.0
      typescript: 5.2.2
    Next.js Config:
      output: N/A

Reproduction description

Steps to reproduce:

  1. Upgrade to nextjs 15
  2. upgrade to next-intl 3.22
  3. run npm run i
  4. See error: above in the description

Expected behaviour

Running without error

@levipadre levipadre added bug Something isn't working unconfirmed Needs triage. labels Oct 22, 2024
@levipadre levipadre changed the title Dependency issue after upgrading to Nextjs 15 Dependency issue after upgrading to Nextjs 15 and Next-Intl 3.22 Oct 22, 2024
@amannn
Copy link
Owner

amannn commented Oct 22, 2024

This will be addressed in #1443 (see the PR for details, maybe you want to wait with updating).

@levipadre
Copy link
Author

Sorry, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed Needs triage.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants