Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
larsqa opened this issue Nov 24, 2022 · 1 comment · Fixed by #6291
Closed
3 tasks done

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

larsqa opened this issue Nov 24, 2022 · 1 comment · Fixed by #6291
Assignees
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK

Comments

@larsqa
Copy link

larsqa commented Nov 24, 2022

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
@lforst lforst added Status: Confirmed Package: nextjs Issues related to the Sentry Nextjs SDK and removed Status: Untriaged labels Nov 24, 2022
@lforst
Copy link
Contributor

lforst commented Nov 24, 2022

Thanks for writing in! I was able to reproduce this. We'll make sure this gets resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants