sentry-javascript
sentry-javascript copied to clipboard
@sentry/profiling-node: ReferenceError: __DEBUG_BUILD__ is not defined
Is there an existing issue for this?
- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- [X] I have reviewed the documentation https://docs.sentry.io/
- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
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.
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 7.100.0
Opened https://github.com/getsentry/sentry-javascript/pull/10534 to fix, sorry for the trouble everyone!
We are going to merge in one more fix (https://github.com/getsentry/sentry-javascript/pull/10536), and then we'll cut a patch release with this fix.
Thanks for your patience everyone, sorry again for the inconvenience.