nuqs icon indicating copy to clipboard operation
nuqs copied to clipboard

Peer dependency: next@"^13.4"

Open andreisocaciu opened this issue 3 years ago • 2 comments

Now that [email protected] 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: [email protected]
15:22:04.042 | npm ERR! Found: [email protected]
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 [email protected]
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 [email protected]
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: [email protected]
15:22:04.043 | npm ERR! node_modules/next
15:22:04.043 | npm ERR!   peer next@"^13.4" from [email protected]
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.

andreisocaciu avatar Oct 27 '23 12:10 andreisocaciu

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

franky47 avatar Oct 27 '23 12:10 franky47

Fixed.

andreisocaciu avatar Oct 27 '23 12:10 andreisocaciu