Skip to content

@sentry/next.js and @sentry/cli failing after Next.js 12.2.0 upgrade #5366

@heldr

Description

@heldr

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.5.0

Framework Version

7.5.0

Link to Sentry event

No response

Steps to Reproduce

After upgrading to Next.js 12.2.0, webpack plugin withSentryConfig seems to fail when CLI tries to update and upload source maps.

Expected Result

CLI is expected to recognize Node.js modules.

Actual Result

Getting this error
CleanShot 2022-07-05 at 11 28 37

even if all those modules are already skipped on non-server builds.
CleanShot 2022-07-05 at 11 33 27

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions