You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Module '"@sentry/remix"' has no exported member 'Replay' #6705
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/@sentry+remix@7.29.0_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
Activity
lforst commentedon Jan 10, 2023
Hi, thanks for pointing this out. A fix is on its way.