-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
@sentry/profiling-node: ReferenceError: __DEBUG_BUILD__ is not defined #10525
Comments
I got this on my e2e test - something is up https://github.com/getsentry/sentry-javascript/actions/runs/7804351046/job/21287026518?pr=10527 |
I'm also experiencing this in a project that just updated to |
Opened #10534 to fix, sorry for the trouble everyone! |
Fixes #10525 When writing the rollup config, we didn't include the debug build plugin. This led to things not be replaced properly as `profiling-node` bundles everything into a single file. This was also causing issues in our CI: https://github.com/getsentry/sentry-javascript/actions/runs/7804351046/job/21287026518?pr=10527 Backporting this fix to v7 so we can do a `7.100.1` release after we merge this in.
We are going to merge in one more fix (#10536), and then we'll cut a patch release with this fix. Thanks for your patience everyone, sorry again for the inconvenience. |
Fixes #10525 When writing the rollup config, we didn't include the debug build plugin. This led to things not be replaced properly as `profiling-node` bundles everything into a single file. This was also causing issues in our CI: https://github.com/getsentry/sentry-javascript/actions/runs/7804351046/job/21287026518?pr=10527 Backporting this fix to v7 so we can do a `7.100.1` release after we merge this in.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
7.100
Framework Version
No response
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
I can not deploy because a reference to
__DEBUG_BUILD__
variable is not defined.Expected Result
I expect the reference to removed at build time.
Actual Result
Starting package crashes.
The text was updated successfully, but these errors were encountered: