Skip to content

@sentry/nextjs v.7.21.1 broke "npm run dev" - works for v.7.21.0 #6284

Description

@larsqa

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

Framework Version

Next.js v12.3.0

Link to Sentry event

No response

Steps to Reproduce

  • I added Sentry to a project yesterday, where error events were sent to Sentry's dashboard. (v.7.21.0)
  • Today, I had to reinstall sentry (now v.7.21.1) and running npm run dev didn't send any errors to Sentry
  • I downgraded to v.7.21.0 and errors are again sent when running with npm run dev

Expected Result

v.7.21.1 should send errors when running with npm run dev

Actual Result

v.7.21.1 doesn't send errors when running with npm run dev.

  • {debug: true} in sentry.client.config.js doesn't yield debugging info
  • {silent: false} in sentryWebpackPluginOptions in next.config.js doesn't yield debugging info
    It seems like sentry doesn't run at all

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions