Title: Sentry is working on my local but not on production deployed in vercel · Issue #6265 · getsentry/sentry-javascript · GitHub
Open Graph Title: Sentry is working on my local but not on production deployed in vercel · Issue #6265 · getsentry/sentry-javascript
X Title: Sentry is working on my local but not on production deployed in vercel · Issue #6265 · 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/6265
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Sentry is working on my local but not on production deployed in 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 package are you using?\n\n@sentry/nextjs\n\n### SDK Version\n\n7.21.0\n\n### Framework Version\n\n@sentry/nextjs\n\n### Link to Sentry event\n\n_No response_\n\n### Steps to Reproduce\n\n1. intrall `@sentry/nextjs` \r\n2. create page with getServerSideProps\r\n3. deploy app to vercel\r\n\n\n### Expected Result\n\nThe page to load with no issue\n\n### Actual Result\n\n\r\n![Uploading image.png…]()\r\n\r\n\r\n> [GET] /login\r\n11:31:32:81\r\nFunction Status:\r\nNone\r\nEdge Status:\r\n500\r\nDuration:\r\n111.82 ms\r\nInit Duration:\r\nN/A\r\nMemory Used:\r\n60 MB\r\nID:\r\nsin1::gzk9v-1669174293167-9e37795d4ec1\r\nUser Agent:\r\nMozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36\r\n2022-11-23T03:31:33.051Z\te96e7e5e-5f9e-41f6-a3c6-11fa309c3416\tERROR\tError: Cannot find module './config/withSentryConfig.js'\r\nRequire stack:\r\n- /var/task/node_modules/@sentry/nextjs/cjs/index.server.js\r\n- /var/task/.next/server/pages/_document.js\r\n- /var/task/node_modules/next/dist/server/require.js\r\n- /var/task/node_modules/next/dist/server/next-server.js\r\n- /var/task/___next_launcher.cjs\r\n at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)\r\n at Function.mod._resolveFilename (/var/task/node_modules/next/dist/build/webpack/require-hook.js:27:32)\r\n at Function.Module._load (internal/modules/cjs/loader.js:746:27)\r\n at Module.require (internal/modules/cjs/loader.js:974:19)\r\n at require (internal/modules/cjs/helpers.js:101:18)\r\n at Object.\u003canonymous> (/var/task/node_modules/@sentry/nextjs/cjs/index.server.js:19:26)\r\n at Module._compile (internal/modules/cjs/loader.js:1085:14)\r\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)\r\n at Module.load (internal/modules/cjs/loader.js:950:32)\r\n at Function.Module._load (internal/modules/cjs/loader.js:790:12) {\r\n code: 'MODULE_NOT_FOUND',\r\n requireStack: [\r\n '/var/task/node_modules/@sentry/nextjs/cjs/index.server.js',\r\n '/var/task/.next/server/pages/_document.js',\r\n '/var/task/node_modules/next/dist/server/require.js',\r\n '/var/task/node_modules/next/dist/server/next-server.js',\r\n '/var/task/___next_launcher.cjs'\r\n ],\r\n page: '/login'\r\n}\r\nRequestId: e96e7e5e-5f9e-41f6-a3c6-11fa309c3416 Error: Runtime exited with error: exit status 1\r\nRuntime.ExitError","author":{"url":"https://github.com/roblegaspi","@type":"Person","name":"roblegaspi"},"datePublished":"2022-11-23T03:37:50Z","url":"https://github.com/getsentry/sentry-javascript/issues/6265"}
| 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:d26b22ab-c195-7c8c-7090-9b24ac1f037f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC90:362421:271B05:3609A9:6B046977 |
| html-safe-nonce | d93916238510ed97af45bd7cce7c7a0eae8d803d1facf797e3f708a058be1e6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzkwOjM2MjQyMToyNzFCMDU6MzYwOUE5OjZCMDQ2OTc3IiwidmlzaXRvcl9pZCI6IjgyOTQyMjE4NTYzMzMxMzAxMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | df6700c9400a1677c4166cef83c24d910682cd45ee74827c9c8004a074544724 |
| hovercard-subject-tag | issue:1460937775 |
| 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/6265/issue_layout |
| twitter:image | https://opengraph.githubassets.com/651c3df2154c9b12c8fee4e92384b8ff91cc58ef237045a7c1dd2b44fbec3282/getsentry/sentry-javascript/issues/6265 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/651c3df2154c9b12c8fee4e92384b8ff91cc58ef237045a7c1dd2b44fbec3282/getsentry/sentry-javascript/issues/6265 |
| 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 | roblegaspi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83e4c0e58c5162177f3c161c5fbad38527ae04c11ac14980f9f9d85ae2027b1f |
| 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 | ca4d07a7cef4e4b75f821dc25e7300d80c1450a9 |
| 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