Skip to content

Missing peer dependencies in Gatsby package #4549

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

Closed
3 of 4 tasks
aaronadamsCA opened this issue Feb 11, 2022 · 0 comments · Fixed by #4576
Closed
3 of 4 tasks

Missing peer dependencies in Gatsby package #4549

aaronadamsCA opened this issue Feb 11, 2022 · 0 comments · Fixed by #4576
Labels
Package: gatsby Issues related to the Sentry Gatsby SDK

Comments

@aaronadamsCA
Copy link
Contributor

Package + Version

@sentry/gatsby latest (currently 6.17.6)

Description

@sentry/gatsby is not fulfilling internal peer dependencies:

➤ │ @sentry/gatsby@npm:6.17.6 doesn't provide react (p56d37), requested by @sentry/react
➤ │ @sentry/gatsby@npm:6.17.6 doesn't provide webpack (p0762b), requested by @sentry/webpack-plugin
$ yarn explain peer-requirements p56d37        
➤ @sentry/gatsby@npm:6.17.6 [52132] doesn't provide react, breaking the following requirements:

➤ @sentry/react@npm:6.17.6 [bc2a9] → 15.x || 16.x || 17.x ✘
$ yarn explain peer-requirements p0762b
➤ @sentry/gatsby@npm:6.17.6 [52132] doesn't provide webpack, breaking the following requirements:

➤ @sentry/webpack-plugin@npm:1.18.5 [bc2a9] → ^4.41.31 || ^5.0.0 ✘

I can file a PR to resolve, by adding the missing peer dependencies to the Gatsby package. This is the same solution used in other packages, like Next.js.

@aaronadamsCA aaronadamsCA changed the title Peer dependency issues in Gatsby package Missing peer dependencies in Gatsby package Feb 11, 2022
@AbhiPrasad AbhiPrasad added Package: gatsby Issues related to the Sentry Gatsby SDK Status: In Progress labels Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: gatsby Issues related to the Sentry Gatsby SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants