Open
Description
openedon Nov 27, 2024
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/sveltekit
SDK Version
8.41.0
Framework Version
SvelteKit 2.8.5
Link to Sentry event
No response
Reproduction Example/SDK Setup
Sentry.init({
enabled: variables.SENTRY_ENABLED,
dsn: variables.SENTRY_DSN,
environment: variables.SENTRY_ENVIRONMENT,
tracesSampleRate: variables.SENTRY_TRACES_SAMPLE_RATE
});
Steps to Reproduce
Upgrade to Vite > 6.x
Start SvelteKit dev server
Expected Result
There should be no Error on starting the dev server, using vite 6.X.
Actual Result
After upgrading ti vite > 6.x I am getting the follwing error after starting the dev server:
Error: Failed to resolve entry for package "@sentry/sveltekit". The package may have incorrect main/module/exports specified in its package.json: No known conditions for "." specifier in "@sentry/sveltekit" package
After downgrading to vite 5.x again, the Error seems to be gone.
Metadata
Assignees
Type
Projects
Status
Waiting for: Community
Activity