Title: Sourcemaps are broken on Next.js + Webpack 4 when auto wrapping instrumentation is enabled · Issue #6118 · getsentry/sentry-javascript · GitHub
Open Graph Title: Sourcemaps are broken on Next.js + Webpack 4 when auto wrapping instrumentation is enabled · Issue #6118 · getsentry/sentry-javascript
X Title: Sourcemaps are broken on Next.js + Webpack 4 when auto wrapping instrumentation is enabled · Issue #6118 · getsentry/sentry-javascript
Description: When combining our Next.js auto wrapping of data-fetchers and API routes with webpack 4 the resolving of sourcemaps breaks and errors get resolved to the proxy modules we create. Steps to reproduce Create Next.js 10 (has webpack 4 by def...
Open Graph Description: When combining our Next.js auto wrapping of data-fetchers and API routes with webpack 4 the resolving of sourcemaps breaks and errors get resolved to the proxy modules we create. Steps to reproduce...
X Description: When combining our Next.js auto wrapping of data-fetchers and API routes with webpack 4 the resolving of sourcemaps breaks and errors get resolved to the proxy modules we create. Steps to reproduce...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/6118
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sourcemaps are broken on Next.js + Webpack 4 when auto wrapping instrumentation is enabled","articleBody":"When combining our Next.js auto wrapping of data-fetchers and API routes with webpack 4 the resolving of sourcemaps breaks and errors get resolved to the proxy modules we create.\r\n\r\n## Steps to reproduce\r\n\r\n1. Create Next.js 10 (has webpack 4 by default) or 11 app (need to set `webpack5: false` in Next.js config)\r\n2. Create API route\r\n3. Throw Error in API route\r\n4. Look at stack trace in Sentry\r\n5. Observe that it resolves to the proxy file we generate instead of to the source of the Error","author":{"url":"https://github.com/lforst","@type":"Person","name":"lforst"},"datePublished":"2022-11-02T14:42:28Z","url":"https://github.com/getsentry/sentry-javascript/issues/6118"}
| 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:1fe0eded-7d64-7046-5050-7b7787b66a87 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D540:1FD1:17858AE:1FE374E:6B0448A5 |
| html-safe-nonce | 765ad30c4e5d95107f6cf9d2fe1d655ca13d70fcb3737eeaa43ed2937f098583 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTQwOjFGRDE6MTc4NThBRToxRkUzNzRFOjZCMDQ0OEE1IiwidmlzaXRvcl9pZCI6Ijc4NTIxODczNjEyODE4NTM2MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 348c0e5d4441285daf1f506138bbe747e8531c630a9a183bae50e0bf2a9b6202 |
| hovercard-subject-tag | issue:1433271532 |
| 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/6118/issue_layout |
| twitter:image | https://opengraph.githubassets.com/43ace4735a202678ede23676c19530fbf502abafb04dbdb185014bd3abd875f6/getsentry/sentry-javascript/issues/6118 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/43ace4735a202678ede23676c19530fbf502abafb04dbdb185014bd3abd875f6/getsentry/sentry-javascript/issues/6118 |
| og:image:alt | When combining our Next.js auto wrapping of data-fetchers and API routes with webpack 4 the resolving of sourcemaps breaks and errors get resolved to the proxy modules we create. Steps to reproduce... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lforst |
| 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