-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
- Review the documentation: https://docs.sentry.io/
- Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- Use the latest release: https://github.com/getsentry/sentry-javascript/releases
- Provide a link to the affected event from your Sentry account
Package + Version
-
@sentry/browser
- Sentry Integration
-
@sentry/node
Version:
5.22.3
Description
Based on the new offline feature done in #2778 I tried to add the Sentry Offline integration to our project and got the following error
Uncaught TypeError: o.Offline is not a constructor
at Module.cd49 (sentry.ts:17)
at s (bootstrap:84)
at Object.0 (app.be676346.js:1)
at s (bootstrap:84)
at n (bootstrap:45)
at bootstrap:221
at app.be676346.js:1
Describe your issue in detail, ideally, you have a reproducible demo that you can show.
import Vue from 'vue'
import * as Sentry from '@sentry/browser'
import { Vue as VueIntegration, Offline } from '@sentry/integrations'
Sentry.init({
release: 'release_v',
environment: 'release_env',
dsn: 'SENTRY_DSN',
enabled: true,
integrations: [
new VueIntegration({
Vue,
attachProps: true,
logErrors: true,
}),
new Offline(),
],
})
Metadata
Metadata
Assignees
Labels
No labels