Skip to content

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

Closed
@Il9

Description

@Il9

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions