Title: `@sentry/tracing` raises type errors in TS node.js project · Issue #2943 · getsentry/sentry-javascript · GitHub
Open Graph Title: `@sentry/tracing` raises type errors in TS node.js project · Issue #2943 · getsentry/sentry-javascript
X Title: `@sentry/tracing` raises type errors in TS node.js project · Issue #2943 · getsentry/sentry-javascript
Description: We've just upgraded to @sentry/tracing 5.24.2 from @sentry/apm 5.21.1 and now get such error while trying to build our node.js project: Our tsconfig.json: { "compilerOptions": { "target": "es2017", "outDir": "build/main", "rootDir": "src...
Open Graph Description: We've just upgraded to @sentry/tracing 5.24.2 from @sentry/apm 5.21.1 and now get such error while trying to build our node.js project: Our tsconfig.json: { "compilerOptions": { "target": "es2017",...
X Description: We've just upgraded to @sentry/tracing 5.24.2 from @sentry/apm 5.21.1 and now get such error while trying to build our node.js project: Our tsconfig.json: { "compilerOptions": { "...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/2943
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`@sentry/tracing` raises type errors in TS node.js project","articleBody":"We've just upgraded to `@sentry/tracing` 5.24.2 from `@sentry/apm` 5.21.1 and now get such error while trying to build our node.js project:\r\n\r\n\r\n\r\nOur tsconfig.json:\r\n\r\n```\r\n{\r\n \"compilerOptions\": {\r\n \"target\": \"es2017\",\r\n \"outDir\": \"build/main\",\r\n \"rootDir\": \"src\",\r\n \"moduleResolution\": \"node\",\r\n \"module\": \"commonjs\",\r\n \"declaration\": true,\r\n \"inlineSourceMap\": true,\r\n \"esModuleInterop\": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,\r\n\r\n \"strict\": true,\r\n\r\n /* Additional Checks */\r\n \"noUnusedLocals\": true /* Report errors on unused locals. */,\r\n \"noUnusedParameters\": true /* Report errors on unused parameters. */,\r\n \"noImplicitReturns\": true /* Report error when not all code paths in function return a value. */,\r\n \"noFallthroughCasesInSwitch\": true /* Report errors for fallthrough cases in switch statement. */,\r\n\r\n /* Debugging Options */\r\n \"traceResolution\": false /* Report module resolution log messages. */,\r\n \"listEmittedFiles\": false /* Print names of generated files part of the compilation. */,\r\n \"listFiles\": false /* Print names of files part of the compilation. */,\r\n \"pretty\": true /* Stylize errors and messages using color and context. */,\r\n\r\n /* Experimental Options */\r\n // \"experimentalDecorators\": true /* Enables experimental support for ES7 decorators. */,\r\n // \"emitDecoratorMetadata\": true /* Enables experimental support for emitting type metadata for decorators. */,\r\n\r\n \"lib\": [\"es2017\"],\r\n \"types\": [\"node\", \"jest\"],\r\n \"typeRoots\": [\"node_modules/@types\", \"src/types\"]\r\n },\r\n \"include\": [\"src/**/*.ts\"],\r\n \"exclude\": [\"node_modules/**\"],\r\n \"compileOnSave\": false\r\n}\r\n```\r\n\r\nOn first look, it looks similar to the problem from https://github.com/getsentry/sentry-javascript/issues/1530 . This is node.js project and we'd prefer not to require `dom` types in it.","author":{"url":"https://github.com/jtomaszewski","@type":"Person","name":"jtomaszewski"},"datePublished":"2020-09-29T15:18:29Z","url":"https://github.com/getsentry/sentry-javascript/issues/2943"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:000e9f81-380c-2d2a-9021-a99bb18523da |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D9A:1D9E7F:96C3D:CFFE5:6B04444E |
| html-safe-nonce | 94779e05df50db2dfe5857edeeb4e305857c18fc33197a9849c8740adf590237 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDlBOjFEOUU3Rjo5NkMzRDpDRkZFNTo2QjA0NDQ0RSIsInZpc2l0b3JfaWQiOiIxODEwNjA1MjAxMjg0MTU0NDQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7d977c0b594bba573a7422ab798c15fea506bec2119a184cfe4a7f2f8bb67e4a |
| hovercard-subject-tag | issue:711218124 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/2943/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a8196ac8dfd47dd464f24d19f88723317adac27e790cb5f8feef72265df42dc7/getsentry/sentry-javascript/issues/2943 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a8196ac8dfd47dd464f24d19f88723317adac27e790cb5f8feef72265df42dc7/getsentry/sentry-javascript/issues/2943 |
| og:image:alt | We've just upgraded to @sentry/tracing 5.24.2 from @sentry/apm 5.21.1 and now get such error while trying to build our node.js project: Our tsconfig.json: { "compilerOptions": { "target": "es2017",... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jtomaszewski |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width