-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
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
- Install
@sentry/types,@sentry/tracing,@sentry/integrationsand@sentry/nodeversion7.41.0. - Init Sentry and Sentry tracing.
- Run a TypeScript build.
- See the build succeed.
- Install version
7.42.0. - Run TypeScript build.
- See the build fail.
Expected Result
It should build without errors.
Actual Result
Throws the following build error:
pnpm build
> @expatfile/[email protected] build /Users/zinohofmann/Projects/github.com/expatfile/grpc-utils
> tsc -p .
node_modules/.pnpm/@[email protected]/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/@[email protected]/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/@[email protected]/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/@[email protected]/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/@[email protected]/node_modules/@sentry/types/types/instrument.d.ts:1
ELIFECYCLE Command failed with exit code 1.
lenovouser, housejumper, mrmonat and smirowstanitzok
Metadata
Metadata
Assignees
Labels
No labels