-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
When using with Next.js 15, if Sentry is added to the project then rendering fails with Uncaught TypeError: Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
The error can be resolved by upgrading Stencil. PR to follow shortly.
See rnbrady/qrcode-sentry-issue for reproduction. Before vs after adding Sentry:

The issue seems to be specific to Next.js or React as I'm unable to reproduce it by adding Sentry to the vanilla HTML + Js demo pages.
JohanGuntherKrogevoll, frederichoule and Marley-Mulvin-Broome
Metadata
Metadata
Assignees
Labels
No labels