Skip to content

Missing peer dependency for babel/preset-env #5741

Closed
@lkostrowski

Description

@lkostrowski

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/nextjs

SDK Version

7.12.1

Framework Version

React 18.2.0, Next 12.3.0

Link to Sentry event

No response

Steps to Reproduce

  1. Install @sentry/nextjs@7.12.1 with pnpm@7.7.1

Expected Result

There should be no errors related to installation of Sentry

Actual Result

There is missing @babel/preset-env@^7.1.6 from jscodeshift package

 ERR_PNPM_PEER_DEP_ISSUES  Unmet peer dependencies

.
├─┬ @sentry/nextjs
│ └─┬ jscodeshift
│   └── ✕ missing peer @babel/preset-env@^7.1.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions