-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Description
Hello, when trying to access through DevTools to the Scripts panel, I have an error 500 on the panel with the following error
can't convert undefined to object
I can not find any logs to see where the error comes from.
Here is part of my nuxt.config.ts (excluded some parts)
export default defineNuxtConfig({
devtools: {
enabled: true,
},
runtimeConfig: {
public: {
scripts: {
googleAnalytics: {
id: "",
},
clarity: {
id: "",
},
googleTagManager: {
id: "",
},
},
},
},
modules: [
"@vueuse/nuxt",
"@nuxtjs/i18n",
"@nuxt/image",
"@nuxtjs/sitemap",
"@nuxtjs/robots",
"nuxt-schema-org",
"nuxt-og-image",
"nuxt-link-checker",
"nuxt-seo-utils",
"@vee-validate/nuxt",
"@nuxt/content",
"@dargmuesli/nuxt-cookie-control",
"nuxt-security",
"nuxt-viewport",
"@nuxt/scripts",
],
scripts: {
enabled: true,
debug: true,
registry: {
googleTagManager: true,
clarity: true,
googleAnalytics: true,
},
},
});I am running Nuxt4
Also I could not reproduce using Stackblitz
lutejka and joaopedrodcf
Metadata
Metadata
Assignees
Labels
No labels