Closed
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
-
Provide a link to the affected event from your Sentry account
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.