Closed as not planned
Closed as not planned
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- 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/react
SDK Version
7.73.0
Framework Version
17.0.2
Link to Sentry event
No response
SDK Setup
Sentry.init({
dsn: "<dsn>",
environment: process.env.NODE_ENV,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
attachStacktrace: true,
enabled: true,
autoSessionTracking: true,
sendClientReports: true,
enableTracing: true,
integrations: [
new Dedupe(),
new ExtraErrorData(),
new HttpClient(),
new Sentry.BrowserTracing()
]
});
Steps to Reproduce
Just load a web-page.
Expected Result
Web page should load.
Actual Result
The web page crashes due to exception:
browsertracing.ts:363 Uncaught (in promise) TypeError: scope.setPropagationContext is not a function
at BrowserTracing._createRouteTransaction (browsertracing.ts:363:1)
at browsertracing.ts:261:1
at instrumentRoutingWithDefaults (router.ts:23:1)
at BrowserTracing.setupOnce (browsertracing.ts:259:1)
at setupIntegration (integration.ts:105:1)
at integration.ts:93:1
at Array.forEach (<anonymous>)
at setupIntegrations (integration.ts:90:1)
at BrowserClient.setupIntegrations (baseclient.ts:297:1)
at e.value (dashcam-player.min.js:2:633639)
at initAndBind (sdk.ts:34:1)
at init (sdk.ts:122:1)
at Module.init (sdk.ts:19:1)
at addinStartup (addinStartup.tsx:36:12)
at __webpack_modules__.794947.geotab.addin.surfsight (videoGalleryIndex.tsx:9:17)
at Object.createNewPage (default.js:1:817288)
at default.js:1:740833
at d (default.js:1:740857)
...
FYI I am using npm 8.19.4
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Community