-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/remix
SDK Version
7.91.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
Sentry.init({
dsn: 'https://<dsn>@<dsn>.[ingest.sentry.io/](http://ingest.sentry.io/)<dsn>,
tracesSampleRate: 1,
environment: process.env.QB_HOST,
});
Steps to Reproduce
- Initialize SDK
- Send in events
- Receive the below error from the server:
"TypeError","stack":"TypeError: pkg.matchRoutes is not a function
Expected Result
Able to send and process events.
Actual Result
It fails on the first request.
Build steps are fine, and requests to that express server on non-remix-served routes (where sentry is not initialized) work as expected.
When making a request to a remix-served route, we see the browser return with a 500 & “Internal server error” page, along with that stacktrace in the logs.
onurtemizkan
Metadata
Metadata
Assignees
Labels
Projects
Status
No status