Title: Nuxt: TypeError Cannot read property '$options' of undefined · Issue #3858 · getsentry/sentry-javascript · GitHub
Open Graph Title: Nuxt: TypeError Cannot read property '$options' of undefined · Issue #3858 · getsentry/sentry-javascript
X Title: Nuxt: TypeError Cannot read property '$options' of undefined · Issue #3858 · 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/3858
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Nuxt: TypeError Cannot read property '$options' of undefined","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- [x] Provide a link to the affected event from your Sentry account\r\n\r\n## Package + Version\r\n\r\n- [x] `@sentry/vue` \r\n\r\n### Version:\r\n\r\n```\r\n6.8.0\r\n```\r\n\r\n## Description\r\n\r\nChanges introduced by #3804 are causing a new error in Nuxt apps.\r\n\r\nThe error is happening in [packages/vue/src/errorhandler.ts](https://github.com/getsentry/sentry-javascript/pull/3804/files#diff-19fbf33a318e2598579c3ed3ad2c7927b14c9b8ceb0e47b3ec9ab14b540f1eddR21) in the `erorrHandler` function, where `vm` is undefined. In fact, `vm` isn't passed by Nuxt in their [implementation of `errorHandler`](https://github.com/nuxt/nuxt.js/blob/dev/packages/vue-app/template/utils.js#L24)\r\n\r\nHere's my Sentry error report: https://sentry.io/organizations/evercam/issues/2539378300/\r\n","author":{"url":"https://github.com/halimb","@type":"Person","name":"halimb"},"datePublished":"2021-08-02T12:55:39Z","url":"https://github.com/getsentry/sentry-javascript/issues/3858"}
| 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:30d15445-fd94-0757-c75d-d2cba93c0f7f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C36E:2ACC63:14249C:1AD66B:6B04B1DE |
| html-safe-nonce | 770da6f115c1fe229e2d3ef94f4eea6a1081ffcc4dccd811b97e19d848f94bd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzZFOjJBQ0M2MzoxNDI0OUM6MUFENjZCOjZCMDRCMURFIiwidmlzaXRvcl9pZCI6IjI2NjQzMDU1ODU3MzgyNjUwNTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 95d64f052681371894bf169f2ecbfb6ae8d8d2fae550b682938b37a63cdf8308 |
| hovercard-subject-tag | issue:958114455 |
| 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/3858/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cc17a59f86b64d28a99860af93e87fc4b59a5f988f197c0fe36f4c15344e9619/getsentry/sentry-javascript/issues/3858 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cc17a59f86b64d28a99860af93e87fc4b59a5f988f197c0fe36f4c15344e9619/getsentry/sentry-javascript/issues/3858 |
| 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 | halimb |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| 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