-
Notifications
You must be signed in to change notification settings - Fork 75
Compatibility issue with Sentry + Next.js #14
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 @rnbrady Since the PR hasn’t been merged in over 3 months, would you consider publishing your fork to npm? Right now the GitHub repo is missing the |
@frederichoule the best solution is to vendor the package with the changes you want. You build the package ( Then you
Your package manager extracts the tarball into |
Thanks! I will try that. |
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.
The text was updated successfully, but these errors were encountered: