Skip to content

@sentry/remix internal built-types have wrong paths #8001

Closed
@ianwremmel

Description

@ianwremmel

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/remix

SDK Version

7.50.0

Framework Version

No response

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

  1. Install @sentry/remix@7.50.0
  2. Run tsc

Expected Result

No errors

Actual Result

Many errors. I'm using the following patch via patch-package to fix it locally, but this would seem to be a problem with the build script:

@@ -0,0 +1,33 @@
diff --git a/node_modules/@sentry/remix/types/index.types.d.ts b/node_modules/@sentry/remix/types/index.types.d.ts
index c45a450..40c784f 100644
--- a/node_modules/@sentry/remix/types/index.types.d.ts
+++ b/node_modules/@sentry/remix/types/index.types.d.ts
@@ -13,17 +13,17 @@ export declare const Integrations: {
     Mysql: typeof import("@sentry-internal/tracing").Mysql;
     Postgres: typeof import("@sentry-internal/tracing").Postgres;
     Prisma: typeof import("@sentry-internal/tracing").Prisma;
-    Console: typeof import("@sentry/node/build/types/integrations").Console;
-    Http: typeof import("@sentry/node/build/types/integrations").Http;
-    OnUncaughtException: typeof import("@sentry/node/build/types/integrations").OnUncaughtException;
-    OnUnhandledRejection: typeof import("@sentry/node/build/types/integrations").OnUnhandledRejection;
-    LinkedErrors: typeof import("@sentry/node/build/types/integrations").LinkedErrors;
-    Modules: typeof import("@sentry/node/build/types/integrations").Modules;
-    ContextLines: typeof import("@sentry/node/build/types/integrations").ContextLines;
-    Context: typeof import("@sentry/node/build/types/integrations").Context;
-    RequestData: typeof import("@sentry/node/build/types/integrations").RequestData;
-    LocalVariables: typeof import("@sentry/node/build/types/integrations").LocalVariables;
-    Undici: typeof import("@sentry/node/build/types/integrations").Undici;
+    Console: typeof import("@sentry/node/types/integrations").Console;
+    Http: typeof import("@sentry/node/types/integrations").Http;
+    OnUncaughtException: typeof import("@sentry/node/types/integrations").OnUncaughtException;
+    OnUnhandledRejection: typeof import("@sentry/node/types/integrations").OnUnhandledRejection;
+    LinkedErrors: typeof import("@sentry/node/types/integrations").LinkedErrors;
+    Modules: typeof import("@sentry/node/types/integrations").Modules;
+    ContextLines: typeof import("@sentry/node/types/integrations").ContextLines;
+    Context: typeof import("@sentry/node/types/integrations").Context;
+    RequestData: typeof import("@sentry/node/types/integrations").RequestData;
+    LocalVariables: typeof import("@sentry/node/types/integrations").LocalVariables;
+    Undici: typeof import("@sentry/node/types/integrations").Undici;
     FunctionToString: typeof clientSdk.FunctionToString;
     InboundFilters: typeof clientSdk.InboundFilters;
     GlobalHandlers: typeof clientSdk.GlobalHandlers;

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions