Skip to content

sentrySvelteKit and SST with TypeScript. There was a problem bundling the SSR function for the "ServerFunction" Site #12962

@james-g-stream

Description

@james-g-stream

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

8.18.0

Framework Version

No response

Link to Sentry event

No response

SDK Setup/Reproduction Example

No response

Steps to Reproduce

SST SvelteKitSite building with Vite and sentrySvelteKit(). Runs fine locally but when I run sst build I'm getting the following error:
Error: There was a problem bundling the SSR function for the "ServerFunction" Site.
No loader is configured for ".node" files: node_modules/.pnpm/fsevents@2.3.3/node_modules/fsevents/fsevents.node

Expected Result

Should build

Actual Result

Failed build

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackage: sveltekitIssues related to the Sentry SvelteKit SDK

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions