- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.7k
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.
steveortiz, kiranjthomas, ckortekaas, kirillgroshkov, mitskevich and 6 more