You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@sentry/gatsby: TypeError: Cannot read properties of undefined (reading 'href') after upgrading to latest version #10578
Hi @elanderos318 any chance that the browserTracingIntegration is registered on the server side? Haven't looked much into Gatsby yet but this smells like browser code being executed on the server.
Activity
elanderos318 commentedon Feb 8, 2024
update, error no longer thrown after downgrading to
7.99.0Lms24 commentedon Feb 9, 2024
Hi @elanderos318 any chance that the
browserTracingIntegrationis registered on the server side? Haven't looked much into Gatsby yet but this smells like browser code being executed on the server.mydea commentedon Feb 14, 2024
I think we can add some extra guards here, but generally it should be avoided to call this in a non-browser environment!
fix(tracing): Guard against missing `window.location` (#10659)
Skeyelab commentedon Feb 20, 2024
I am still having this issue. Even with 7.102
mydea commentedon Feb 21, 2024
Hey, I forgot to backport this to v7, will include it in the next release!
fix(tracing): Guard against missing `window.location` (#10659)
Skeyelab commentedon Feb 21, 2024
@mydea thanks. Any idea when the next release will go out?
mydea commentedon Feb 21, 2024
We'll probably cut another release this week, we'll keep you posted in this issue!