Property or method is not defined error when sentry is integrated in VueJs APP

Hello everyone,

I am not totally sure if this is related to sentry, but whenever I integrate sentry into our vuejs app, I get these errors. It would be great to know if sentry is causing or not causing it.

Here’s how we are integrating sentry.

import * as Sentry from '@sentry/browser';

import * as Integrations from '@sentry/integrations';

Sentry.init({
  dsn: 'https://test123@sentry.io/123456',
  integrations: [new Integrations.Vue({Vue, attachProps: true, logErrors: true})],
});

Thank you very much!

I mean if it doesn’t show up w/o Sentry SDK, it probably is related. That said the only relevant code I could find regarding this nativeEvent property is here https://github.com/getsentry/sentry-javascript/blob/master/packages/utils/src/is.ts#L141 and this doesn’t do any writes.

Were you able to find another clue in the meantime?

Hey, thanks for responding. I was able to resolve this by removing a console.log() on my code which is strange. I am still not sure what caused that issue. Right now I am not seeing it anymore.

1 Like