It should build without errors.
pnpm build
> @expatfile/grpc-utils@0.0.0-development build /Users/zinohofmann/Projects/github.com/expatfile/grpc-utils
> tsc -p .
node_modules/.pnpm/@sentry+types@7.42.0/node_modules/@sentry/types/types/instrument.d.ts:1:43 - error TS2304: Cannot find name 'BufferSource'.
1 declare type XHRSendInput = null | Blob | BufferSource | FormData | URLSearchParams | string;
~~~~~~~~~~~~
node_modules/.pnpm/@sentry+types@7.42.0/node_modules/@sentry/types/types/instrument.d.ts:1:58 - error TS2304: Cannot find name 'FormData'.
1 declare type XHRSendInput = null | Blob | BufferSource | FormData | URLSearchParams | string;
~~~~~~~~
node_modules/.pnpm/@sentry+types@7.42.0/node_modules/@sentry/types/types/instrument.d.ts:2:54 - error TS2304: Cannot find name 'XMLHttpRequest'.
2 export interface SentryWrappedXMLHttpRequest extends XMLHttpRequest {
~~~~~~~~~~~~~~
node_modules/.pnpm/@sentry+types@7.42.0/node_modules/@sentry/types/types/instrument.d.ts:19:16 - error TS2304: Cannot find name 'Response'.
19 response?: Response;
~~~~~~~~
Found 4 errors in the same file, starting at: node_modules/.pnpm/@sentry+types@7.42.0/node_modules/@sentry/types/types/instrument.d.ts:1
ELIFECYCLE Command failed with exit code 1.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g.
bundle.tracing.min.js) in your SDK setup.@sentry/node
SDK Version
7.42.0
Framework Version
No response
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
@sentry/types,@sentry/tracing,@sentry/integrationsand@sentry/nodeversion7.41.0.7.42.0.Expected Result
It should build without errors.
Actual Result
Throws the following build error: