nuxt-community / sentry-module

Sentry module for Nuxt 2
https://sentry.nuxtjs.org
MIT License
500 stars 113 forks source link

TypeError: undefined is not an object (evaluating 'pt.push') #611

Closed michalzaq12 closed 1 year ago

michalzaq12 commented 1 year ago

Version

@nuxtjs/sentry: 7.4.0 nuxt: 2.16.3 Browser: Mobile Safari

Sentry config: lazy: true

image
rchl commented 1 year ago

I'd need to see some more of your code that triggers this code. It seems like the code might be holding a reference to a specific mocked method and then using it after Sentry has loaded.

I could probably work around the crash but then an actual crash might just get silently ignored.

In any case, I would guess that it's probably not a new issue in your code base but you got it reported as new issue because of slightly different stack trace.

rchl commented 1 year ago

This should have been fixed by #606 and the fix was released in v7.4.0