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

fix(nextjs): add next 12 to the list of peer deps #4106

Closed
wants to merge 1 commit into from

Conversation

MKrupauskas
Copy link

@MKrupauskas MKrupauskas commented Oct 30, 2021

npm i with the new version of next (^12.0) is failing because of @sentry/nextjs because the defined valid peer dependencies for next do not include version 12, see full error below. To mitigate this I've created a PR to add next 12 to the valid peer deps list. This change will need a package version release. Note: the install works with npm i --legacy-peer-deps which ignores peer deps.

@MKrupauskas
Copy link
Author

closes #4105

@MKrupauskas
Copy link
Author

the tests didn't catch this issue because they use yarn instead of a newer version of npm

@AbhiPrasad
Copy link
Member

Hey @MKrupauskas thanks for the contribution! This is a duplicate of #4093, so we are going to close this PR.

@AbhiPrasad AbhiPrasad closed this Nov 2, 2021
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

Successfully merging this pull request may close these issues.

2 participants