Title: Uncaught TypeError: o.Offline is not a constructor · Issue #2868 · getsentry/sentry-javascript · GitHub
Open Graph Title: Uncaught TypeError: o.Offline is not a constructor · Issue #2868 · getsentry/sentry-javascript
X Title: Uncaught TypeError: o.Offline is not a constructor · Issue #2868 · getsentry/sentry-javascript
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 aff...
Open Graph 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-javas...
X 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-javas...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/2868
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Uncaught TypeError: o.Offline is not a constructor","articleBody":"\u003c!-- Requirements: please go through this checklist before opening a new issue -->\r\n\r\n- [X] Review the documentation: https://docs.sentry.io/\r\n- [X] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues\r\n- [X] Use the latest release: https://github.com/getsentry/sentry-javascript/releases\r\n- [ ] Provide a link to the affected event from your Sentry account\r\n\r\n## Package + Version \r\n\r\n- [X] `@sentry/browser`\r\n- [X] Sentry Integration\r\n- [X] `@sentry/node`\r\n\r\n### Version:\r\n\r\n```\r\n5.22.3\r\n```\r\n\r\n## Description\r\n\r\nBased on the new offline feature done in #2778 I tried to add the Sentry Offline integration to our project and got the following error\r\n```\r\nUncaught TypeError: o.Offline is not a constructor\r\n at Module.cd49 (sentry.ts:17)\r\n at s (bootstrap:84)\r\n at Object.0 (app.be676346.js:1)\r\n at s (bootstrap:84)\r\n at n (bootstrap:45)\r\n at bootstrap:221\r\n at app.be676346.js:1\r\n```\r\nDescribe your issue in detail, ideally, you have a reproducible demo that you can show.\r\n\r\n```\r\nimport Vue from 'vue'\r\nimport * as Sentry from '@sentry/browser'\r\nimport { Vue as VueIntegration, Offline } from '@sentry/integrations'\r\n\r\nSentry.init({\r\n release: 'release_v',\r\n environment: 'release_env',\r\n dsn: 'SENTRY_DSN',\r\n enabled: true,\r\n integrations: [\r\n new VueIntegration({\r\n Vue,\r\n attachProps: true,\r\n logErrors: true,\r\n }),\r\n new Offline(),\r\n ],\r\n})\r\n```\r\n","author":{"url":"https://github.com/nwaughachukwuma","@type":"Person","name":"nwaughachukwuma"},"datePublished":"2020-08-31T13:25:09Z","url":"https://github.com/getsentry/sentry-javascript/issues/2868"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8a87248e-dc62-c562-58e4-89195c249b79 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A4CA:1F2E:2FD5E8:41D5B9:6B044CA5 |
| html-safe-nonce | 227a66d0b4beb71073f40eeb38b9d4407c2476ce84051f36e525661f892f2c62 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNENBOjFGMkU6MkZENUU4OjQxRDVCOTo2QjA0NENBNSIsInZpc2l0b3JfaWQiOiI1Mzg4MTc2NDUxOTA2NTg3ODEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7a3d079f1f545a638b44aaec0daaa6293481c7a688a259a08c29aa2efe577bf8 |
| hovercard-subject-tag | issue:689205966 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/2868/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6dc2ab721475ccc26d48aa685c95803abe4c6f41d9c3a4061aa586b3364f3d4c/getsentry/sentry-javascript/issues/2868 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6dc2ab721475ccc26d48aa685c95803abe4c6f41d9c3a4061aa586b3364f3d4c/getsentry/sentry-javascript/issues/2868 |
| og:image:alt | 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-javas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nwaughachukwuma |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width