Skip to content

Astro Integration throws error after upgrade to v8.3.0 #12179

Closed
@felixrichardt

Description

@felixrichardt

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/astro

SDK Version

8.3.0

Framework Version

No response

Link to Sentry event

No response

SDK Setup

sentry({
            environment: process.env.NODE_ENV || 'development',
            dsn: __MY_DSN__,
            sourceMapsUploadOptions: {
                project: __MY_PROJECT__,
                authToken: process.env.SENTRY_AUTH_TOKEN,
            },
        }),

Steps to Reproduce

Upgrading @sentry/astro from v7.116.0 to v8.3.0

Expected Result

Upgrade from v7.116.0 to v8.3.0 should work as expected

Actual Result

After upgrading to v8.3.0 astro build/dev throws error:

[ERROR] vite_ssr_import_1.getClient(...).setupIntegrations is not a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: astroIssues related to the Sentry Astro SDK

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions