-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Chunking @sentry/react results in “Multiple Sentry Session Replay instances are not supported” error #14915
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
Comments
Hey @daraclare thanks for reaching out! That is just a wild guess but since replay is installed with a different package your config might mess up the setup. function manualChunks(id) {
if (id.includes('node_modules/@sentry')) { // or includes('@sentry') idk
return 'sentry';
}
} and see if that helps? |
Why was this issue closed? This issue hasn't been touched recently and no longer seems relevant. Please feel free to leave a comment if you think this issue should be reopened. |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
^8.47.0
Framework Version
React 18.2
Link to Sentry event
https://viasat-c0.sentry.io/issues/6199709160/?environment=production&project=4506784165658624&referrer=project-issue-stream&statsPeriod=24h
Reproduction Example/SDK Setup
Steps to Reproduce
Now the error “Multiple Sentry Session Replay instances are not supported” occurs in Sentry in production.
Expected Result
No error should occur
Actual Result
“Multiple Sentry Session Replay instances are not supported” error occurs
The text was updated successfully, but these errors were encountered: