Skip to content

TypeError: Breadcrumbs is not a constructor #9746

Closed
@iserialize

Description

@iserialize

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.85.0

Framework Version

7.85.0

Link to Sentry event

No response

SDK Setup

import { boot } from 'quasar/wrappers'
import * as Sentry from "@sentry/vue";

// "async" is optional;
// more info on params: https://v2.quasar.dev/quasar-cli/boot-files
export default boot(async ({ app, router }) => {
  // something to do
  Sentry.init({
    app,
    dsn: "https://a36dd9dfc8ac83bc36b76d41a2823fad@o1323164.ingest.sentry.io/4505803071422464",
    integrations: [
      new Sentry.BrowserTracing({
        routingInstrumentation: Sentry.vueRouterInstrumentation(router),
      }),
      new Sentry.Replay(),
    ],

    // Set tracesSampleRate to 1.0 to capture 100%
    // of transactions for performance monitoring.
    // We recommend adjusting this value in production
    tracesSampleRate: 1.0,

    // Set `tracePropagationTargets` to control for which URLs distributed tracing should be enabled
    tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],

    // Capture Replay for 10% of all sessions,
    // plus for 100% of sessions with an error
    replaysSessionSampleRate: 0.1,
    replaysOnErrorSampleRate: 1.0,
  });
})

Steps to Reproduce

  1. Add a new boot file in the quasar framework
  2. Add the above code in the boot file
  3. View the site and see the error in the console.log.

Expected Result

No errors

Actual Result

[Quasar] boot error: TypeError: Breadcrumbs is not a constructor. message in the console log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: vueIssues related to the Sentry Vue SDK

    Type

    No type

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions