-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Run project error "scope.getTransaction is not a function" #3537
Comments
Can you provide your |
yarn.lock.zip |
Please update to at least https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#622
|
It was found that the problem was because we used Tencent maps and conflicts with sentry in the Tencent map api. I tried to remove the Tencent map api file and everything worked fine.So it's because of the |
Important Details
An error is reported in
@sentry/tracing
after initialization.Causes the entire page to crash and cannot be opened.This problem occurs suddenly, and sometimes it returns to normal on its own.
SDK version 6.2.0
Description
When i don't use
@sentry/tracing
. Will appear hub.startSession is not a function.Here is my initialization code.The error stack is as follows.
Steps to Reproduce
1.Create a Qiankun sub-app.
2.Use sentry in sub-applications.
3.Startup project.
4.Occasionally reported errors.
What you expected to happen
Do not report an error, and the project is running normally.
The text was updated successfully, but these errors were encountered: