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?
Self-hosted/on-premise
Which SDK are you using?
@sentry/sveltekit
SDK Version
8.35.0
Framework Version
Latest svelte
Link to Sentry event
No response
Reproduction Example/SDK Setup
Latest svelte 5 repro, I am myself using svelte 4 in the project actually being affected by this:
https://github.com/dollannn/sentry-repro
Steps to Reproduce
Enable sourcemap deletion in vite.config.ts
Try to build
error during build
Expected Result
Sourcemaps being deleted and the build not failing
Actual Result
error during build:
Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s)oon exit:
on exit:
on exit:
(sentry-file-deletion-plugin) writeBundle
at process.handleBeforeExit (file:///D:/Projects/test/sentry-repro/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:21098:28)
at Object.onceWrapper (node:events:634:26)
at process.emit (node:events:531:35)
ELIFECYCLE Command failed with exit code 1.
Metadata
Metadata
Assignees
Type
Projects
Status