Skip to content

Missing dependency on rxjs #13162

Closed
Closed
@esetnik

Description

@esetnik

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/browser

SDK Version

8.22.0

Framework Version

@sentry/node

Link to Sentry event

No response

Reproduction Example/SDK Setup

// server.ts
import './instrument';
import * as Sentry from '@sentry/node';
// instrument.ts
import * as Sentry from '@sentry/node';

Sentry.init({
  dsn: 'https://xxxx',
});

Steps to Reproduce

  1. Upgrade to 8.22.0
  2. $ tsc --noEmit
    node_modules/@sentry/node/build/types/integrations/tracing/nest.d.ts:3:33 - error TS2307: Cannot find module 'rxjs' or its corresponding type declarations.

Expected Result

No typescript error. This only started happening in 8.22.0.

Actual Result

$ tsc --noEmit
node_modules/@sentry/node/build/types/integrations/tracing/nest.d.ts:3:33 - error TS2307: Cannot find module 'rxjs' or its corresponding type declarations.

3 import type { Observable } from 'rxjs';
~~~~~~

Found 1 error in node_modules/@sentry/node/build/types/integrations/tracing/nest.d.ts:3

Metadata

Metadata

Assignees

Labels

Package: browserIssues related to the Sentry Browser SDK

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions