Skip to content

Nuxt/Vue - High normalizeDepth causes warning spam #18203

@GitRowin

Description

@GitRowin

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nuxt

SDK Version

10.25.0

Framework Version

Nuxt 4.2.1

Link to Sentry event

No response

Reproduction Example/SDK Setup

https://github.com/GitRowin/nuxt-sentry-normalize-depth-bug

Steps to Reproduce

Navigate from / to /error using the link on the page.

Expected Result

I expect Vue to print two warnings, which is what happens without the Sentry module.

Actual Result

Vue prints 282 warnings. In our production application it even prints thousands of warnings and combined with Sentry's captureConsoleIntegration it causes the browser tab to run out of memory and crash.

Additional Context

I narrowed this problem down to the normalizeDepth setting, which was set to 10 in our application. Removing this setting (and thus defaulting to 3) solves the issue and causes the expected 2 warnings to be printed.

Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

Labels

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions