Closed jbm1991 closed 2 years ago
Could you send us your main.js
file? I had this error in the past and if I remember well, I fixed it by changing the way I initialize Sentry.
Sorry for the delay in replying to this, I have only recently been able to get back to investigating this plugin and it turns out the problem was caused by debug: true
in this block, so therefore removing it fixes the problem:
Sentry.init({
dsn: dsn,
debug: true, //HERE
enableAutoPerformanceTracking: true,
environment: 'dev'
});
Hopefully this helps anyone in the future.
@jbm1991 indeed i am sorry for that the debug flag is not working correctly and i am not sure why
Make sure to check the demo app(s) for sample usage
Done
Make sure to check the existing issues in this repository
Done
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital letter. Done
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it. I am using a framework called the MDK (created by SAP) to create my application. It all works fine, until I try and add this plugin, at which point the app crashes on launch with the error in the callstack below. The issue seems to be similar to the one described here, but unfortunately it was without resolution https://github.com/getsentry/sentry-javascript/issues/4820. I have tried installed tns-core-modules as well, but that made no difference.
Is there any code involved?
I have done no special coding beyond what is described in the README of this repository.