- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.7k
 
Closed
Closed
Copy link
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/getsentry/sentry-javascript/releases
 
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nuxt
SDK Version
10.22.0
Framework Version
Nuxt: 4.1.3
Link to Sentry event
No response
Reproduction Example/SDK Setup
import * as Sentry from '@sentry/nuxt'
Sentry.init({
  enabled: false,
})Steps to Reproduce
- clone https://github.com/OrbisK/test-utils-fork/tree/reproduction-sentry-nuxt
 - switch to branch 
reproduction-sentry-nuxt pnpm icd examples/app-vitest-browserpnpm test
Expected Result
No internal server error
Actual Result
3: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
  Plugin: vite:import-analysis
  File: examples/app-vitest-browser/sentry.client.config.ts:1:24
  1  |  import * as Sentry from "@sentry/nuxt";
     |                           ^
  2  |  Sentry.init({
  3  |    // If set up, you can use your runtime config here
Additional Context
maybe related to #16120
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.
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Product Owner