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
9.27.0
Framework Version
SvelteKit 2.21.2
Link to Sentry event
No response
Reproduction Example/SDK Setup
Sentry.init({
dsn: YOUR_DSN,
tracesSampleRate: 1,
integrations: [
Sentry.vercelAIIntegration(),
],
});
in hooks.server.ts
Steps to Reproduce
- Try calling Sentry.vercelAIIntegration within your
hooks.server.ts Sentry.init.
Expected Result
Integration should capture Vercel AI spans, etc.
Actual Result
Results in the error when running the project:
TypeError: __vite_ssr_import_1__.vercelAIIntegration is not a function
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
9.27.0
Framework Version
SvelteKit 2.21.2
Link to Sentry event
No response
Reproduction Example/SDK Setup
in
hooks.server.tsSteps to Reproduce
hooks.server.tsSentry.init.Expected Result
Integration should capture Vercel AI spans, etc.
Actual Result
Results in the error when running the project:
TypeError: __vite_ssr_import_1__.vercelAIIntegration is not a function