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
9.5.0
Framework Version
Nuxt 3.16.0
Link to Sentry event
N/A
Reproduction Example/SDK Setup
https://stackblitz.com/edit/nuxt-sentry-bundler?file=dist%2Fserver%2Fsentry.server.config.mjs
Steps to Reproduce
- Install Nuxt 3.16.0 & @sentry/nuxt module
- Install the @sentry/nuxt module (docs)
- Build the project -
npm run build
Expected Result
This is a build on Nuxt 3.15.4:
It does not contain the broken import.
Actual Result
The build output is completely different to Nuxt 3.15.4. It includes an import to a non-existent file:
import { init } from "./node_modules/_sentry/nuxt/build/esm/server/sdk.mjs";
The _sentry
folder does not exist.

Importing this module casues the application to crash.
Metadata
Metadata
Assignees
Type
Projects
Status
No status