Title: [BUG]: Uploading source maps with SST, Nitro and Tanstack Start ends up with 3 source map bundles · Issue #19396 · getsentry/sentry-javascript · GitHub
Open Graph Title: [BUG]: Uploading source maps with SST, Nitro and Tanstack Start ends up with 3 source map bundles · Issue #19396 · getsentry/sentry-javascript
X Title: [BUG]: Uploading source maps with SST, Nitro and Tanstack Start ends up with 3 source map bundles · Issue #19396 · 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/19396
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG]: Uploading source maps with SST, Nitro and Tanstack Start ends up with 3 source map bundles","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 SDK are you using?\n\n@sentry/tanstackstart-react\n\n### SDK Version\n\n10.39.0\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\nhttps://testappliaction.sentry.io/issues/97452943/?environment=production&query=is%3Aunresolved&referrer=issue-stream\n\n### Reproduction Example/SDK Setup\n\nhttps://github.com/sommeeeer/sentry-nitro-tanstack-issue\n\n### Steps to Reproduce\n\n# sentry-nitro-tanstack-issue\n\nMultiple source maps are uploaded for one project. In this case 3 times. Seems to be related to the Sentry plugin and Nitro not working together. My theory is that somewhere in the build pipeline the Sentry plugin gets triggered 3 times to upload source maps.\n\n## TODO\n\n- Fill in all `TODO:` placeholders in source files (for this repro, start with `src/router.tsx`).\n- Install dependencies:\n\n\t```bash\n\tpnpm install\n\t```\n\n- Deploy to SST test stage:\n\n\t```bash\n\tpnpm sst deploy --stage test\n\t```\n\nAfter deploy visist the `https://domain.com/test` page to trigger an error. See that the sourcemaps is not working.\n\n### Expected Result\n\nI only want to see one source map being uploaded, and that it is the correct one. So my stack traces are actually with readable code.\n\n### Actual Result\n\n\u003cimg width=\"1422\" height=\"882\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/ef928f60-adc7-4c1d-8c80-0600d2b92f2e\" />\n\n### Additional Context\n\nLet me know if there is anything more I can provide for this issue to get attention.\n\n### Priority\n\n\u003csub>React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.\u003c/sub>","author":{"url":"https://github.com/sommeeeer","@type":"Person","name":"sommeeeer"},"datePublished":"2026-02-19T07:44:16Z","url":"https://github.com/getsentry/sentry-javascript/issues/19396"}
| 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:76e6f937-44fb-040c-317b-54601de6270f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4AC:14562A:1A3F6A:2387D0:6B042FDE |
| html-safe-nonce | 82fe79a3e992668dcebd64068e9583b926a7375eee676ef2115625ae6c81909c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEFDOjE0NTYyQToxQTNGNkE6MjM4N0QwOjZCMDQyRkRFIiwidmlzaXRvcl9pZCI6IjU3OTI5NDAzNTAzMzk1NTkzOTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0236e6476f38465a8aa3725dfdf767ed1b8fb4aac19f9729d98c2f1893b76a2c |
| hovercard-subject-tag | issue:3961454070 |
| 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/19396/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ca6b951155f21dc1759205c5f7fe8ba8114ee4f0eb595bc59282474b75dae6aa/getsentry/sentry-javascript/issues/19396 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ca6b951155f21dc1759205c5f7fe8ba8114ee4f0eb595bc59282474b75dae6aa/getsentry/sentry-javascript/issues/19396 |
| 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 | sommeeeer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| 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