Title: Compilation error after upgrading to @sentry/react 7.1.0 · Issue #5222 · getsentry/sentry-javascript · GitHub
Open Graph Title: Compilation error after upgrading to @sentry/react 7.1.0 · Issue #5222 · getsentry/sentry-javascript
X Title: Compilation error after upgrading to @sentry/react 7.1.0 · Issue #5222 · 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/5222
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compilation error after upgrading to @sentry/react 7.1.0","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/react\r\n\r\n### SDK Version\r\n\r\n7.1.0\r\n\r\n### Framework Version\r\n\r\n18.1.0\r\n\r\n### Link to Sentry event\r\n\r\n_No response_\r\n\r\n### Steps to Reproduce\r\n\r\nUpgrade from `7.0.0` to `7.1.0`\r\n\r\n### Expected Result\r\n\r\nSuccessful compilation.\r\n\r\n### Actual Result\r\n\r\nCompilation error - \r\n```\r\nCompiling...\r\n Compilation failed:\r\n ModuleNotFoundError: Module not found: Error: Can't resolve 'cookie' in '/tmp/build_0b2ca099/node_modules/@sentry/utils/esm'\r\n at /tmp/build_0b2ca099/node_modules/webpack/lib/Compilation.js:925:10\r\n at /tmp/build_0b2ca099/node_modules/webpack/lib/NormalModuleFactory.js:401:22\r\n at /tmp/build_0b2ca099/node_modules/webpack/lib/NormalModuleFactory.js:130:21\r\n at /tmp/build_0b2ca099/node_modules/webpack/lib/NormalModuleFactory.js:224:22\r\n at /tmp/build_0b2ca099/node_modules/neo-async/async.js:2830:7\r\n at /tmp/build_0b2ca099/node_modules/neo-async/async.js:6877:13\r\n at /tmp/build_0b2ca099/node_modules/webpack/lib/NormalModuleFactory.js:214:25\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:213:14\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:285:5\r\n at eval (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:15:1)\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:44:7\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:285:5\r\n at eval (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:15:1)\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:285:5\r\n at eval (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:27:1)\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:285:5\r\n at eval (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:43:1)\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/ModuleKindPlugin.js:30:40\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:285:5\r\n at eval (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:15:1)\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:285:5\r\n at eval (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:16:1)\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/forEachBail.js:30:14\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:285:5\r\n at eval (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:15:1)\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:44:7\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:285:5\r\n at eval (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:15:1)\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:285:5\r\n at eval (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:27:1)\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:67:43\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/Resolver.js:285:5\r\n at eval (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:16:1)\r\n at /tmp/build_0b2ca099/node_modules/enhanced-resolve/lib/RootPlugin.js:37:38\r\n at _next43 (eval at create (/tmp/build_0b2ca099/node_modules/tapable/lib/HookCodeFactory.js:33:10), \u003canonymous>:8:1)\r\n resolve 'cookie' in '/tmp/build_0b2ca099/node_modules/@sentry/utils/esm'\r\n Parsed request is a module\r\n using description file: /tmp/build_0b2ca099/node_modules/@sentry/utils/package.json (relative path: ./esm)\r\n```","author":{"url":"https://github.com/kapso","@type":"Person","name":"kapso"},"datePublished":"2022-06-07T17:59:32Z","url":"https://github.com/getsentry/sentry-javascript/issues/5222"}
| 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:84082701-2e32-1f26-ded8-f533ed30cdcd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E280:31C8BB:37958F:4F002E:6B046E78 |
| html-safe-nonce | c32b53b53fa499d544ad17513a5319b032c0275d9784c9e11d46f91dfdaa4166 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjgwOjMxQzhCQjozNzk1OEY6NEYwMDJFOjZCMDQ2RTc4IiwidmlzaXRvcl9pZCI6IjgxNjEzOTg0Mzc5MjYxNzAyMzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8b9d0d1e7dfd02ac893876f9c85801ba734cb7a72d164e42d74446e35eb25b45 |
| hovercard-subject-tag | issue:1263673813 |
| 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/5222/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4dc37b4e45ca402e73a6651a9c0c252538ccd364da93b01bd658f3b631a59262/getsentry/sentry-javascript/issues/5222 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4dc37b4e45ca402e73a6651a9c0c252538ccd364da93b01bd658f3b631a59262/getsentry/sentry-javascript/issues/5222 |
| 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 | kapso |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| 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 | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| 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