Skip to content
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

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

Closed
FxErikVardanyan opened this issue Jan 13, 2021 · 4 comments · Fixed by #3210
Closed

Comments

@FxErikVardanyan
Copy link

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

@FxErikVardanyan
Copy link
Author

Update: we have another project that is working good with version 4.6.6 of @sentry/node, so we downgraded the problematic project's sentry/node version to 4.6.6 and it solved the issue.

@kamilogorek
Copy link
Contributor

Related: #2971

@lobsterkatie
Copy link
Member

@FxErikVardanyan This should be fixed once #3210 is released. Please let me know if you're still running into trouble.

@kamilogorek
Copy link
Contributor

6.0.4 is coming in few moments. Thanks for your patience.

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