Skip to content

Sentry dashboard shows only one event: TypeError t.require is not a function #3171

@FxErikVardanyan

Description

@FxErikVardanyan

Hello, we have an issue when there's any error on our express app (no matter if it's in a route or a middleware), we receive the event to our sentry dashboard as:
TypeError t.require is not a function

There are no other events than that one.
It happens only after running npm run build and starting the bundled code.
When running the server locally it works just fine and we get different events.

I searched for similar issues but couldn't find anything, also did exactly like described in docs.
Help would be appreciated.
Thanks.

@sentry/node: 5.30.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions