-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Package: remixIssues related to the Sentry Remix SDKIssues related to the Sentry Remix SDK
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 package are you using?
@sentry/remix
SDK Version
7.29.0
Framework Version
No response
Link to Sentry event
No response
Steps to Reproduce
import * as Sentry from "@sentry/remix";
Sentry.init({
dsn: "DSN",
// This sets the sample rate to be 10%. You may want this to be 100% while
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,
// If the entire session is not sampled, use the below sample rate to sample
// sessions when an error occurs.
replaysOnErrorSampleRate: 1.0,
integrations: [new Sentry.Replay()],
});
Expected Result
Should probably be the same as in this commit:
6a275c0
Actual Result
Property 'Replay' does not exist on type 'typeof import("/node_modules/.pnpm/@[email protected]_ctfx57c45d4ft2ci2cukzxaxxu/node_modules/@sentry/remix/types/index.server")
TS error, could not find Replay.
TS tries to get types from index.server.ts, TS doesn't find the Replay integration class although it's correctly exported from indext.client.ts
k9ordon
Metadata
Metadata
Assignees
Labels
Package: remixIssues related to the Sentry Remix SDKIssues related to the Sentry Remix SDK