TypeScript Errors due to dependency woes #16196
Labels
Bug
External Dependency
To close this issue, an external dependency needs to be adjusted/fixed
Node.js
OpenTelemetry
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
9.15.0
Framework Version
Node 20.19.1, TypeScript 5.8.3
Link to Sentry event
No response
Reproduction Example/SDK Setup
The
@sentry/[email protected]
package pulls in@opentelemetry/[email protected]
, which in turn pulls in@types/[email protected]
. When compiling, I get this:The problem arises when building against
@sentry/node
with module resolution set tobundler
, and it's rather annoying as we (for example) don't use any instrumentation.Reported upstream here.
Steps to Reproduce
Set module resolution in
tsconfig.json
tobundler
and runtsc
Expected Result
Types should compile
Actual Result
Got this error:
The text was updated successfully, but these errors were encountered: