Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuxt: TypeError Cannot read property '$options' of undefined #3858

Closed
5 tasks done
halimb opened this issue Aug 2, 2021 · 1 comment · Fixed by #3902
Closed
5 tasks done

Nuxt: TypeError Cannot read property '$options' of undefined #3858

halimb opened this issue Aug 2, 2021 · 1 comment · Fixed by #3902

Comments

@halimb
Copy link

halimb commented Aug 2, 2021

Package + Version

  • @sentry/vue

Version:

6.8.0

Description

Changes introduced by #3804 are causing a new error in Nuxt apps.

The error is happening in packages/vue/src/errorhandler.ts in the erorrHandler function, where vm is undefined. In fact, vm isn't passed by Nuxt in their implementation of errorHandler

Here's my Sentry error report: https://sentry.io/organizations/evercam/issues/2539378300/

@kamilogorek
Copy link
Contributor

Will be fixed in #3902

In the meantime, you can use attachProps: false option to skip this feature.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants