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

Peer dependency: next@"^13.4" #380

Closed
andreisocaciu opened this issue Oct 27, 2023 · 2 comments
Closed

Peer dependency: next@"^13.4" #380

andreisocaciu opened this issue Oct 27, 2023 · 2 comments

Comments

@andreisocaciu
Copy link
Contributor

andreisocaciu commented Oct 27, 2023

Now that NextJS@14.0.0 is out, the peer dependency fails to install.

npm ERR! code ERESOLVE
--
15:22:04.041 | npm ERR! ERESOLVE could not resolve
15:22:04.042 | npm ERR!
15:22:04.042 | npm ERR! While resolving: next-usequerystate@1.8.4
15:22:04.042 | npm ERR! Found: next@14.0.0
15:22:04.042 | npm ERR! node_modules/next
15:22:04.042 | npm ERR!   next@"14.0.0" from the root project
15:22:04.042 | npm ERR!   peer next@">= 12.0.0" from next-i18next@13.2.2
15:22:04.042 | npm ERR!   node_modules/next-i18next
15:22:04.043 | npm ERR!     next-i18next@"13.2.2" from the root project
15:22:04.043 | npm ERR!
15:22:04.043 | npm ERR! Could not resolve dependency:
15:22:04.043 | npm ERR! peer next@"^13.4" from next-usequerystate@1.8.4
15:22:04.043 | npm ERR! node_modules/next-usequerystate
15:22:04.043 | npm ERR!   next-usequerystate@"1.8.4" from the root project
15:22:04.043 | npm ERR!
15:22:04.043 | npm ERR! Conflicting peer dependency: next@13.5.6
15:22:04.043 | npm ERR! node_modules/next
15:22:04.043 | npm ERR!   peer next@"^13.4" from next-usequerystate@1.8.4
15:22:04.043 | npm ERR!   node_modules/next-usequerystate
15:22:04.043 | npm ERR!     next-usequerystate@"1.8.4" from the root project
15:22:04.043 | npm ERR!
15:22:04.043 | npm ERR! Fix the upstream dependency conflict, or retry
15:22:04.043 | npm ERR! this command with --force or --legacy-peer-deps
15:22:04.044 | npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
@franky47
Copy link
Member

I published 1.9.1 yesterday which should have the correct peerDeps for Next.js 13.4+ and 14.

@andreisocaciu
Copy link
Contributor Author

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants