Skip to content

Missing peer dependencies in Gatsby package #4549

Closed
@aaronadamsCA

Description

@aaronadamsCA

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: gatsbyIssues related to the Sentry Gatsby SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions