Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
8.2.1
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Sentry.init({
dsn: '',
integrations: [
Sentry.feedbackIntegration({}),
],
});
Steps to Reproduce
- Initialise Sentry with a Feedback integtation:
Expected Result
Sentry initialized successfully
Actual Result
TypeError: Cannot read properties of null (reading 'appendChild')
at _createShadow (index.js:551:23)
at _createActor (index.js:649:22)
at Object.setupOnce (index.js:674:9)
at setupIntegration (integration.js:125:17)
at eval (integration.js:96:7)
at Array.forEach (<anonymous>)
at setupIntegrations (integration.js:93:16)
at BrowserClient._setupIntegrations (baseclient.js:396:92)
at BrowserClient.init (baseclient.js:272:12)
at initAndBind (sdk.js:44:10)
at Module.init (sdk.js:175:61)
at eval (site.js:5:1)
at ./assets/javascript/site.js (site-bundle.js:1:273939)
at __webpack_require__ (site-bundle.js:1:2585458)
at site-bundle.js:1:2586060
at site-bundle.js:1:2586172
The issue goes away if initialisation is done on document load/ready, but I don't see this being mentioned in the docs, so I thought this could be a bug.
Metadata
Metadata
Assignees
Type
Projects
Status
No status