You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
error no matching export current_component - svelte 5 and sveltekit ^2.0 #10275
Hi @JonathonRP I believe this issue is related to our component tracking feature not working well with SvelteKit 2 / Svelte 5. It's something we need to look into but I believe the root cause is ultimately the same as in #10276
Can you confirm that your setup is identical in both issues? Or did you change something to get around one of the two errors you reported?
@Lms24 setup for this is without disabling tracking withSentryConfig. As component tracking is on by default which I was attempting to work around by disabling but found that had errors no matter the route I took. I tried both svelte browser version and sveltekit version.
Hey everyone, I just merged #11807 which auto-closed this issue. We'll make a new beta release for v8 of our SDK on Monday which will ship with support for Svelte 5 (compatible with the latest Svelte 5 preview)!
Thanks for your patience and special shout out to @JonathonRP for setting the ground stone by porting our Svelte SDK tests from Jest to Vitest (#10350)!
Hey everyone, I just merged #11807 which auto-closed this issue. We'll make a new beta release for v8 of our SDK on Monday which will ship with support for Svelte 5 (compatible with the latest Svelte 5 preview)!
Thanks for your patience and special shout out to @JonathonRP for setting the ground stone by porting our Svelte SDK tests from Jest to Vitest (#10350)!
@Lms24 I have upgraded to beta, but do I also need svelte package at new beta? I'm trying today with only sveltekit on beta and getting build errors for performance.js access current_component...
Actually for some reason pnpm installed latest and not next tag version
@Lms24 I'm using spotlight and getting error that a is not a function... that's seems to come from using spotlight and sentry, it's inside Browserclient.addIntegration, setupIntegration, gw.setupOnce
I could also make another issue for this, if you like?
Activity
Lms24 commentedon Jan 23, 2024
Hi @JonathonRP I believe this issue is related to our component tracking feature not working well with SvelteKit 2 / Svelte 5. It's something we need to look into but I believe the root cause is ultimately the same as in #10276
Can you confirm that your setup is identical in both issues? Or did you change something to get around one of the two errors you reported?
JonathonRP commentedon Jan 23, 2024
@Lms24 setup for this is without disabling tracking withSentryConfig. As component tracking is on by default which I was attempting to work around by disabling but found that had errors no matter the route I took. I tried both svelte browser version and sveltekit version.
JonathonRP commentedon Jan 23, 2024
@Lms24 here is Repo
https://stackblitz.com/edit/sveltejs-kit-template-default-2lc4he?file=package.json
61 remaining items
JonathonRP commentedon Mar 5, 2024
@Lms24 has this been merged or released yet?
lforst commentedon Mar 7, 2024
@JonathonRP The SDK does not yet support svelte 5. Progress is tracked here #10318.
Lms24 commentedon Apr 26, 2024
Hey everyone, I just merged #11807 which auto-closed this issue. We'll make a new beta release for v8 of our SDK on Monday which will ship with support for Svelte 5 (compatible with the latest Svelte 5 preview)!
Thanks for your patience and special shout out to @JonathonRP for setting the ground stone by porting our Svelte SDK tests from Jest to Vitest (#10350)!
JonathonRP commentedon Apr 29, 2024
Is this still releasing today?
JonathonRP commentedon Apr 30, 2024
@Lms24 I have upgraded to beta, but do I also need svelte package at new beta? I'm trying today with only sveltekit on beta and getting build errors for performance.js access current_component...Actually for some reason pnpm installed latest and not next tag version
JonathonRP commentedon May 1, 2024
@Lms24 I'm using spotlight and getting error that a is not a function... that's seems to come from using spotlight and sentry, it's inside Browserclient.addIntegration, setupIntegration, gw.setupOnce
I could also make another issue for this, if you like?
lforst commentedon May 2, 2024
@JonathonRP Yes please open another issue with reproduction steps. Thank you!
Lms24 commentedon May 2, 2024
@JonathonRP sorry for the late response; I'm currently out sick and just saw this. Before you open another issue, please try upgrading to the Spotlight 2.x alpha. Since you're using v8 of the Svelte(kit) SDK, Spotlight needs to be update to its new major as well. More information here: https://github.com/getsentry/spotlight/releases/tag/%40spotlightjs%2Fspotlight%402.0.0-alpha.1
JonathonRP commentedon May 2, 2024
I'll give that a try, thanks!