Title: NextJS package does not upload source-maps on WINDOWS · Issue #4829 · getsentry/sentry-javascript · GitHub
Open Graph Title: NextJS package does not upload source-maps on WINDOWS · Issue #4829 · getsentry/sentry-javascript
X Title: NextJS package does not upload source-maps on WINDOWS · Issue #4829 · 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/4829
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NextJS package does not upload source-maps on WINDOWS","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Which package are you using?\r\n\r\n@sentry/nextjs\r\n\r\n### SDK Version\r\n\r\n6.19.3\r\n\r\n### Framework Version\r\n\r\n6.19.3\r\n\r\n### Link to Sentry event\r\n\r\n_No response_\r\n\r\n### Steps to Reproduce\r\n\r\n1. Setup project following NextJS docs: https://docs.sentry.io/platforms/javascript/guides/nextjs/\r\n2. Run `next build`\r\n3. Run `next start`\r\n\r\n### Expected Result\r\n\r\nSource-maps uploaded\r\n\r\n### Actual Result\r\n\r\n**No source-maps uploaded.**\r\n\r\n\r\nI'm not sure what I'm supposed to see either to confirm they get uploaded or not.\r\n\r\nI've manually configured a release version in the `sentry.client/server.config.js` files to see if that was the issue, and that didn't change anything. All it did was make an empty release bucket with no artifacts.\r\n\r\nI've tried setting the `SENTRY_RELEASE` environment variable using `cross-env` and a `.env` file (in separate attempts) and they both did nothing.\r\n\r\nI've tried manually setting the release field in the `sentryWebpackPluginOptions` as well to see if the `sentry-webpack-plugin` needed it, and that did nothing.\r\n\r\nI've watched the netlify and vercel videos on sentry's youtube channel, and they both just refer to some netlify or vercel plugin to handle it. But the docs clearly state that `@sentry/nextjs` will automatically handle the sourcemap uploads! I am completely at a loss. I see 0 output, no errors, no warnings, nothing. \r\n\r\n","author":{"url":"https://github.com/yoont4","@type":"Person","name":"yoont4"},"datePublished":"2022-03-31T09:34:34Z","url":"https://github.com/getsentry/sentry-javascript/issues/4829"}
| 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:8f56aff4-21e6-831b-85ec-5172c64138a1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C6DA:EFB54:FEFB7:1547A5:6B04B0FD |
| html-safe-nonce | fd3c002b60983c780ac9afc2c71e052092472dd5ffed655b1af322baf92e745b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkRBOkVGQjU0OkZFRkI3OjE1NDdBNTo2QjA0QjBGRCIsInZpc2l0b3JfaWQiOiI3ODA1MzIzOTk4MTU3NjQ4MTI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8f9a26c8252c959a6169789c22f93531e7273f9c0bd676b16cf929f37963f404 |
| hovercard-subject-tag | issue:1187791652 |
| 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/4829/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8d952c1ddfd9a385f606bf2866264f68140c672c679c550dc198a7af54c7f26d/getsentry/sentry-javascript/issues/4829 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d952c1ddfd9a385f606bf2866264f68140c672c679c550dc198a7af54c7f26d/getsentry/sentry-javascript/issues/4829 |
| 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 | yoont4 |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| 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