Title: Hydrogen 2025.1.3 / @sentry/remix build failing · Issue #16120 · getsentry/sentry-javascript · GitHub
Open Graph Title: Hydrogen 2025.1.3 / @sentry/remix build failing · Issue #16120 · getsentry/sentry-javascript
X Title: Hydrogen 2025.1.3 / @sentry/remix build failing · Issue #16120 · 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/16120
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hydrogen 2025.1.3 / @sentry/remix build failing","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/remix\n\n### SDK Version\n\n^9.13.0\n\n### Framework Version\n\n@shopify/hydrogen 2025.1.3 , vite ^6.2.0\n\n### Link to Sentry event\n\n_No response_\n\n### Reproduction Example/SDK Setup\n\nhttps://github.com/jasonloeve/hydrogen-sentry\n\n### Steps to Reproduce\n\n1. Install a fresh instance of Hydrogen 2025.1.3\n2. Install Sentry following the guild set out in -https://docs.sentry.io/platforms/javascript/guides/remix/frameworks/hydrogen/\n3. Run build using `npm run build` using node v21.7.0 / npm 10.5.0\n4. Build throws and error\n\n### Expected Result\n\nExpected build to complete successfully.\n\nTo note that Hydrogen has just pushed updates switching from Vite 5 to Vite 6, this this update this issue has been present.\n\n### Actual Result\n\nBuild fails with error, seems to be failing at entry.client.tsx , @sentry/remix\n\n`Error: Failed to resolve entry for package \"@sentry/remix\". The package may have incorrect main/module/exports specified in its package.json: No known conditions for \".\" specifier in \"@sentry/remix\" package\n at packageEntryFailure (file:///Users/Sites/hydrogen-remix/source/node_modules/vite/dist/node/chunks/dep-DG3BLbPj.js:16195:15)\n at resolvePackageEntry (file:///Users/Sites/hydrogen-remix/source/node_modules/vite/dist/node/chunks/dep-DG3BLbPj.js:16190:5)\n at tryNodeResolve (file:///Users/Sites/hydrogen-remix/source/node_modules/vite/dist/node/chunks/dep-DG3BLbPj.js:16057:18)\n at Object.resolveId (file:///Users/Sites/hydrogen-remix/source/node_modules/vite/dist/node/chunks/dep-DG3BLbPj.js:15828:19)\n at Object.handler (file:///Users/Sites/hydrogen-remix/source/node_modules/vite/dist/node/chunks/dep-DG3BLbPj.js:46392:15)\n at file:///Users/Sites/hydrogen-remix/source/node_modules/rollup/dist/es/shared/node-entry.js:22188:40\n at PluginDriver.hookFirstAndGetPlugin (file:///Users/Sites/hydrogen-remix/source/node_modules/rollup/dist/es/shared/node-entry.js:22070:28)\n at resolveId (file:///Users/Sites/hydrogen-remix/source/node_modules/rollup/dist/es/shared/node-entry.js:20552:26)\n at ModuleLoader.resolveId (file:///Users/Sites/hydrogen-remix/source/node_modules/rollup/dist/es/shared/node-entry.js:20988:15)\n at Object.resolveId (/Users/Sites/hydrogen-remix/source/node_modules/@remix-run/dev/dist/vite/plugin.js:964:22)`","author":{"url":"https://github.com/jasonloeve","@type":"Person","name":"jasonloeve"},"datePublished":"2025-04-23T23:10:45Z","url":"https://github.com/getsentry/sentry-javascript/issues/16120"}
| 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:859f8a84-3bc5-75c0-a40f-9ef1544efb5e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB72:24E22D:1A0B5DC:23005DA:6B0548E8 |
| html-safe-nonce | 46ca88cab3c0c03ad42adc7b0b4cf4f6b2c58d559a674ae1e1c6cbd5c34d7c7e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjcyOjI0RTIyRDoxQTBCNURDOjIzMDA1REE6NkIwNTQ4RTgiLCJ2aXNpdG9yX2lkIjoiNjM3ODg3MzU4NDI5NDkwNjA4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 49a53ac2809ff34b0c0a43dba984342833a1a9a4033bbeea01473294926fdc13 |
| hovercard-subject-tag | issue:3015448938 |
| 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/16120/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c1b0cd19b1e59cac58276b411f84ec30ec84a98548481afdc9f831bde0fb128a/getsentry/sentry-javascript/issues/16120 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c1b0cd19b1e59cac58276b411f84ec30ec84a98548481afdc9f831bde0fb128a/getsentry/sentry-javascript/issues/16120 |
| 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 | jasonloeve |
| 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