Title: vitest/browser + nuxt | `Failed to resolve entry for package "@sentry/nuxt"` · Issue #18070 · getsentry/sentry-javascript · GitHub
Open Graph Title: vitest/browser + nuxt | `Failed to resolve entry for package "@sentry/nuxt"` · Issue #18070 · getsentry/sentry-javascript
X Title: vitest/browser + nuxt | `Failed to resolve entry for package "@sentry/nuxt"` · Issue #18070 · 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/18070
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"vitest/browser + nuxt | `Failed to resolve entry for package \"@sentry/nuxt\"`","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/nuxt\n\n### SDK Version\n\n10.22.0\n\n### Framework Version\n\nNuxt: 4.1.3\n\n### Link to Sentry event\n\n_No response_\n\n### Reproduction Example/SDK Setup\n\n```ts\nimport * as Sentry from '@sentry/nuxt'\n\nSentry.init({\n enabled: false,\n})\n```\n\n### Steps to Reproduce\n\n1. clone https://github.com/OrbisK/test-utils-fork/tree/reproduction-sentry-nuxt\n2. switch to branch `reproduction-sentry-nuxt`\n3. `pnpm i`\n4. `cd examples/app-vitest-browser` \n5. `pnpm test`\n\n### Expected Result\n\nNo internal server error\n\n### Actual Result\n\n```\n3:29:10 PM [vite] Internal server error: Failed to resolve entry for package \"@sentry/nuxt\". The package may have incorrect main/module/exports specified in its package.json: No known conditions for \".\" specifier in \"@sentry/nuxt\" package\n Plugin: vite:import-analysis\n File: examples/app-vitest-browser/sentry.client.config.ts:1:24\n 1 | import * as Sentry from \"@sentry/nuxt\";\n | ^\n 2 | Sentry.init({\n 3 | // If set up, you can use your runtime config here\n```\n\n### Additional Context\n\nmaybe related to https://github.com/getsentry/sentry-javascript/issues/16120\n\n\n\u003csub>Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.\u003c/sub>","author":{"url":"https://github.com/OrbisK","@type":"Person","name":"OrbisK"},"datePublished":"2025-10-31T14:34:47Z","url":"https://github.com/getsentry/sentry-javascript/issues/18070"}
| 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:1cf99556-8298-5f30-a22f-34a54394c291 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E19A:1873F7:A0E117:DB2673:6B05402F |
| html-safe-nonce | 502d1fd5e41498abf643ed36790ca4ac1ddff51c348f02e335131eb7d25d59c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTlBOjE4NzNGNzpBMEUxMTc6REIyNjczOjZCMDU0MDJGIiwidmlzaXRvcl9pZCI6IjY0NjkzMzY2MDc4NDQ4MTA3OTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bb52993650516d4d3fceb85c122a74c8939365ed88c8c0334197e74a29887607 |
| hovercard-subject-tag | issue:3575208459 |
| 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/18070/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1137925fa430bc1be14543646fa0e3e071b84d85991015bd84a00c073d5a611b/getsentry/sentry-javascript/issues/18070 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1137925fa430bc1be14543646fa0e3e071b84d85991015bd84a00c073d5a611b/getsentry/sentry-javascript/issues/18070 |
| 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 | OrbisK |
| 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