U.setPropagationContext is not a function
GabySotirova opened this issue · comments
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/browser
SDK Version
v.7.58.0
Framework Version
@sentry/vue v.7.58.0
Link to Sentry event
No response
SDK Setup
SentryVue.init({
app,
dsn,
environment,
normalizeDepth: 4,
tracePropagationTargets: ["localhost", /^\//],
integrations: [
new Sentry.BrowserTracing({
routingInstrumentation: SentryVue.vueRouterInstrumentation(router),
}),
new CaptureConsole({
levels: ["warn", "error", "info"],
}),
new ExtraErrorData({
depth: 4,
}),
new Sentry.Replay({
maskAllText: false,
blockAllMedia: true,
mutationLimit: 1000,
}),
],
tracesSampleRate: 1,
trackComponents: true,
ignoreErrors: ignoredErrorList,
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1,
})
Steps to Reproduce
The problem arises when trying to build the app. In a dev environment all is fine.
The last version that works is 7.57.0
. Everything above, doesn't.
Dependencies and plugins:
Expected Result
App builds without errors.
Actual Result
Resolved by upgrading @sentry/capacitor
package to 0.12.3
, which apparently needs Sentry javascript packages to use 7.64.0
.