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

next-plugin-sentry: moved dependencies #3453

Closed
wants to merge 2 commits into from
Closed

next-plugin-sentry: moved dependencies #3453

wants to merge 2 commits into from

Conversation

yurist38
Copy link

Hello!

I've noticed the issue with dependencies in the next-plugin-sentry which currently has @sentry/nextjs in its dependencies. This leads to the issue in my project:

Screen Shot 2021-04-24 at 14 40 27

As you can see from the screenshot, It uses the internal version of the @sentry/nextjs package instead of the one from the project. I think that it's not correct behavior, it seems to me that this package should not bring @sentry/nextjs package as dependency. That's why I moved it to devDependencies and peerDependencies. This looks like a correct approach, I think. I tested it in my project, the error disappears if I remove that nested node_modules folder. So this PR should help.

Please let me know what you think about it. Thanks!

@yurist38 yurist38 requested a review from kamilogorek as a code owner April 24, 2021 12:49
@HazAT
Copy link
Member

HazAT commented Apr 27, 2021

Thx for the PR but this is obsolete once we merge this.
#3462

@HazAT HazAT closed this Apr 27, 2021
@yurist38 yurist38 deleted the next-plugin-sentry-moved-dependencies branch April 27, 2021 16:13
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