-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
- [ x ] Review the documentation: https://docs.sentry.io/
- [ x ] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- [ x ] Use the latest release: https://github.com/getsentry/sentry-javascript/releases
Package + Version
- [ x ]
@sentry/integrations5.22.3
Description
The recently added offline integration (#2778) depends on the TypeScript dom lib, which cannot be safely included in node.js projects due to incompatible interface definitions, such as Timers.
I found an existing mention of this problem, but no issue tracking it yet:
I see that dom is included in the repo-wide tsconfig.json file:
https://github.com/getsentry/sentry-javascript/blob/master/packages/typescript/tsconfig.json#L9
It may help to remove dom from that shared file and only include dom in the browser package to avoid this problem.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Fields
Give feedbackNo fields configured for issues without a type.