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

Outdated next.js peer dependency #106

Closed
abir-taheer opened this issue Aug 27, 2021 · 1 comment
Closed

Outdated next.js peer dependency #106

abir-taheer opened this issue Aug 27, 2021 · 1 comment

Comments

@abir-taheer
Copy link

Tried to manually update my next.js version to 11.1.0 because of a vulnerability but next-apollos throws an error when running rpm install

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/next
npm ERR! next@"11.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer next@"^9.3.6 || ^10.0.0" from [email protected]
npm ERR! node_modules/next-apollo
npm ERR! next-apollo@"^5.0.6" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/next
npm ERR! peer next@"^9.3.6 || ^10.0.0" from [email protected]
npm ERR! node_modules/next-apollo
npm ERR! next-apollo@"^5.0.6" 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

The issue goes away when I run with npm install --legacy-peer-deps but that's not an ideal solution. It'd be great if the package could be updated to support next 11 as a peer dependency alongside next 9 and 10

@adamsoffer
Copy link
Owner

Hey @abir-taheer - heads up next has been updated to v11 in the latest release. Thanks for reporting.

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