Skip to content

Browser tracing also works in server-side rendering with Node.js V16 #3522

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

Closed
4 of 9 tasks
Il9 opened this issue May 10, 2021 · 0 comments · Fixed by #3548
Closed
4 of 9 tasks

Browser tracing also works in server-side rendering with Node.js V16 #3522

Il9 opened this issue May 10, 2021 · 0 comments · Fixed by #3548

Comments

@Il9
Copy link

Il9 commented May 10, 2021

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other: @sentry/tracing

Version:

6.2.1

Description

This error did not occur because there was no performance until node v15.
However, node v16 has a performance in global, it also works in server-side and outputs a document is not defined error.

image
image
image

If you are determining whether the conditional statement below is a browser, you need to modify it.
If not, please check if there is any way to solve it in the package.

image

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

Successfully merging a pull request may close this issue.

2 participants