-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
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/nuxt
SDK Version
8.25.0
Framework Version
3.12.4
Link to Sentry event
No response
Reproduction Example/SDK Setup
When auto-import is disabled, an error is thrown
Steps to Reproduce
Create Nuxt project with autoImport disabled:
nuxt.config.ts
import { defineNuxtConfig } from 'nuxt/config'
export default defineNuxtConfig({
imports: {
autoImport: false,
},
sentry: {
debug: import.meta.env.DEV,
sourceMapsUploadOptions: {
authToken: process.env.NUXT_PUBLIC_SENTRY_AUTH_TOKEN,
org: process.env.NUXT_PUBLIC_SENTRY_ORG,
project: process.env.NUXT_PUBLIC_SENTRY_PROJECT,
telemetry: false,
},
},
})
Expected Result
A world of happiness
Actual Result
Uncaught ReferenceError: defineNuxtPlugin is not defined
Metadata
Metadata
Assignees
Labels
Projects
Status
No status