Skip to content

Cannot import sentry in sveltekit v2 setup #9923

Closed
@harshmandan

Description

@harshmandan

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

Metadata

Metadata

Assignees

Labels

Package: sveltekitIssues related to the Sentry SvelteKit SDK

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions