Title: Using 'experimental-edge' runtime on NextJs pages breaks build on Vercel · Issue #7522 · getsentry/sentry-javascript · GitHub
Open Graph Title: Using 'experimental-edge' runtime on NextJs pages breaks build on Vercel · Issue #7522 · getsentry/sentry-javascript
X Title: Using 'experimental-edge' runtime on NextJs pages breaks build on Vercel · Issue #7522 · 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/7522
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Using 'experimental-edge' runtime on NextJs pages breaks build on Vercel","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? If you use the CDN bundles, please specify the exact bundle (e.g. `bundle.tracing.min.js`) in your SDK setup.\n\n@sentry/nextjs\n\n### SDK Version\n\n7.43.0\n\n### Framework Version\n\n13.2.4\n\n### Link to Sentry event\n\n_No response_\n\n### SDK Setup\n\n```\r\nimport * as Sentry from '@sentry/nextjs'\r\n\r\nSentry.init({\r\n dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,\r\n environment: process.env.NEXT_PUBLIC_VERCEL_ENV ?? 'development',\r\n tracesSampleRate: 1.0,\r\n beforeSend(event) {\r\n if (event.user) {\r\n // Don't send user's IP address\r\n delete event.user.ip_address\r\n }\r\n return event\r\n },\r\n ignoreErrors: []\r\n})\r\n\r\n```\n\n### Steps to Reproduce\n\nHaving configured:\r\n\r\n```\r\nexport const config = {\r\n runtime: 'experimental-edge'\r\n}\r\n```\r\n\r\nOn any given page seems to make sentry crash on build time. \n\n### Expected Result\n\nTo not crash on build.\n\n### Actual Result\n\n\u003cimg width=\"1360\" alt=\"image\" src=\"https://user-images.githubusercontent.com/27777508/226328674-19ad4702-eded-498f-8931-cec87f7e394b.png\">\r\n","author":{"url":"https://github.com/jvidalv","@type":"Person","name":"jvidalv"},"datePublished":"2023-03-20T11:39:21Z","url":"https://github.com/getsentry/sentry-javascript/issues/7522"}
| 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:dc8a0d50-6133-42da-1a31-e3174dd57645 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5A0:AC748:789F44:9B4D29:6B05083C |
| html-safe-nonce | edcc27f7f8d615c05aab2114054ba35ad0c797df47622a8b27b1ba7bcdde11c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUEwOkFDNzQ4Ojc4OUY0NDo5QjREMjk6NkIwNTA4M0MiLCJ2aXNpdG9yX2lkIjoiMzAzNTk2Nzc5NzU1ODgzOTM1NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 264ea5f381a2e0569262d8092dd3e18676e9744150b455d5f9e25787fc51ae1d |
| hovercard-subject-tag | issue:1631932071 |
| 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/7522/issue_layout |
| twitter:image | https://opengraph.githubassets.com/010d450761e7d34009426d54b8ef8283ed5f5e0da41b2a0b57b15b5fa2ba8154/getsentry/sentry-javascript/issues/7522 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/010d450761e7d34009426d54b8ef8283ed5f5e0da41b2a0b57b15b5fa2ba8154/getsentry/sentry-javascript/issues/7522 |
| 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 | jvidalv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| 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 | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| 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