Title: [Replay] Uncaught TypeError: debounce.default is not a function · Issue #6474 · getsentry/sentry-javascript · GitHub
Open Graph Title: [Replay] Uncaught TypeError: debounce.default is not a function · Issue #6474 · getsentry/sentry-javascript
X Title: [Replay] Uncaught TypeError: debounce.default is not a function · Issue #6474 · getsentry/sentry-javascript
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/...
Open Graph 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 th...
X 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 th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/6474
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Replay] Uncaught TypeError: debounce.default is not a function","articleBody":"### Is there an existing issue for this?\n\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [X] I have reviewed the documentation https://docs.sentry.io/\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which package are you using?\n\n@sentry/browser\n\n### SDK Version\n\n7.24.2\n\n### Framework Version\n\nReact 16.14.0\n\n### Link to Sentry event\n\n_No response_\n\n### Steps to Reproduce\n\n`npm install @sentry/browser @sentry/replay`\r\n\r\n`\r\nSentry.init({\r\n dsn: process.env.SENTRY_DSN,\r\n replaysSessionSampleRate: 1.0,\r\n replaysOnErrorSampleRate: 1.0,\r\n integrations: [new Replay()],\r\n });\r\n`\n\n### Expected Result\n\nNo crash\n\n### Actual Result\n\nApplication crashing with this error : `Uncaught TypeError: debounce.default is not a function`\r\n\r\nThe error is triggered in `@sentry/replay/cjs/replay.js` line 109:\r\n` this._debouncedFlush = debounce.default(() => this.flush(), this.options.flushMinDelay, {\r\n maxWait: this.options.flushMaxDelay,\r\n });`\r\n\r\nIt should be instead : \r\n` this._debouncedFlush = debounce(() => this.flush(), this.options.flushMinDelay, {\r\n maxWait: this.options.flushMaxDelay,\r\n });`","author":{"url":"https://github.com/dryisf","@type":"Person","name":"dryisf"},"datePublished":"2022-12-08T14:09:35Z","url":"https://github.com/getsentry/sentry-javascript/issues/6474"}
| 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:cb410cff-cca6-c3c0-f762-8ef3c68b0b75 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E644:3D680A:43ECD2:5DDA01:6B0453C7 |
| html-safe-nonce | 3312d221edb311c1bd9bb1bee383d408a398ef7a8cea996b5bc74695bd22674b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjQ0OjNENjgwQTo0M0VDRDI6NUREQTAxOjZCMDQ1M0M3IiwidmlzaXRvcl9pZCI6IjM1ODg0NzUyOTgyMDkwOTI1NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e7f5b2125878a8ea18cc9a7a62155486511868f95a12f69f58770f351cba0dc6 |
| hovercard-subject-tag | issue:1484723408 |
| 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/6474/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bea4fdaef74b3fa296315ff5a09e460e80e601f10651e4e7b757b1dd124e8e0b/getsentry/sentry-javascript/issues/6474 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bea4fdaef74b3fa296315ff5a09e460e80e601f10651e4e7b757b1dd124e8e0b/getsentry/sentry-javascript/issues/6474 |
| og:image:alt | 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 th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dryisf |
| hostname | github.com |
| expected-hostname | github.com |
| None | 910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0 |
| 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 | e086f9b7e88322eb2b41885a6ad425b215737fa5 |
| 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