Skip to content
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

Uncaught TypeError: Failed to execute 'contains' on 'Node': parameter 1 is not of type 'Node'. #657

Open
codekie opened this issue Sep 11, 2023 · 0 comments

Comments

@codekie
Copy link

codekie commented Sep 11, 2023

We are encountering a lot of these errors, when using the SplunkSessionRecorder:

Uncaught TypeError: Failed to execute 'contains' on 'Node': parameter 1 is not of type 'Node'.
    at u (mutation.js:131:60)
    at e.emit (mutation.js:203:25)
    at e.processMutations (mutation.js:102:19)

We are using version v0.16.3.

It looks like the origin of the error is the rrweb-dependecy (version 1.1.3).

There already are corresponding bug reports in the rrweb-repository (rrweb-io/rrweb#1114 and rrweb-io/rrweb#890).

A fix also already was implemented (see rrweb-io/rrweb#891 and rrweb-io/rrweb@3cdcb8a), however, it is not available in any of the 1.x versions. It looks like the earliest version that contains this fix is rrweb@2.0.0-alpha.0.

Unfortunately we can't use the session recorder like this as it is flooding our Sentry-instance. with the mentioned errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant