Skip to content

Problem with updating @sentry/vue #10048

Closed as not planned
Closed as not planned
@randomailer

Description

@randomailer

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/vue

SDK Version

7.91.0

Framework Version

vue@2.6.6

Link to Sentry event

No response

SDK Setup

Sentry.init({
    Vue,
    dsn: sentryConfig.dsn,
    environment: sentryConfig.env,
    integrations: [
      new Sentry.BrowserTracing({
        routingInstrumentation: Sentry.vueRouterInstrumentation(router),
        tracingOrigins: sentryConfig.tracingOrigins
          ? sentryConfig.tracingOrigins.split(',').filter((a) => a).map(a => new RegExp(a))
          : []
      }),
      new Sentry.Replay()
    ],
    release: packageJson.version,
    tracesSampleRate: 0.8,
    // Capture Replay for 10% of all sessions,
    // plus for 100% of sessions with an error
    replaysSessionSampleRate: 0.08,
    replaysOnErrorSampleRate: 1.0
  })

Steps to Reproduce

I have updated @sentry/vue dependency from version 7.61.0 to 7.91.0 (latest) and start to seeing this error
image

If I remove from sentry initialisation Sentry.Replay integration then it works again

Expected Result

Sentry works well with Sentry.Replay

Actual Result

Sentry doesn't work with Sentry.Replay

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: vueIssues related to the Sentry Vue SDKStale

    Type

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions