Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
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
Metadata
Metadata
Assignees
Type
Projects
Status
No status