Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import sentry in sveltekit v2 setup #9923

Closed
3 tasks done
harshmandan opened this issue Dec 20, 2023 · 4 comments · Fixed by #9926
Closed
3 tasks done

Cannot import sentry in sveltekit v2 setup #9923

harshmandan opened this issue Dec 20, 2023 · 4 comments · Fixed by #9926

Comments

@harshmandan
Copy link

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/sveltekit

SDK Version

7.89.0

Framework Version

Sveltekit v2.0.4

Link to Sentry event

No response

SDK Setup

No response

Steps to Reproduce

Here's a stackblitz repo link:

On the project you can run, npm run install && npm run check

https://stackblitz.com/edit/sveltejs-kit-template-default-yht1fd?file=package.json

image

Expected Result

Imports should work as before

Actual Result

Imports give a type error using svelte-check

@harshmandan harshmandan changed the title Cannot import sentry in sveltekit v2 Cannot import sentry in sveltekit v2 setup Dec 20, 2023
@Lms24
Copy link
Member

Lms24 commented Dec 20, 2023

Hi, thanks for reporting! I'll look into this soon.

@Lms24
Copy link
Member

Lms24 commented Dec 20, 2023

Hi @harshmandan again, thanks for reporting and for the reproduction! I found the reason and opened #9926 to fix this. We'll publish version 7.90.0 with the fix in the next hours.

@Lms24
Copy link
Member

Lms24 commented Dec 20, 2023

7.90.0 was just released!

@harshmandan
Copy link
Author

Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants