N
Nuxt8mo ago
less

Cannot start nuxt: Unexpected token ':'

Hi, i've got this error whenever i tried to start the nuxt app
Cannot start nuxt: Unexpected token ':' 4:44:34 PM

at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:118:18)
at callTranslator (node:internal/modules/esm/loader:273:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:30)
Cannot start nuxt: Unexpected token ':' 4:44:34 PM

at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:118:18)
at callTranslator (node:internal/modules/esm/loader:273:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:278:30)
here's my nuxt.config
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@nuxt/ui", "@vueuse/nuxt"],
build: {
transpile: ["@syncfusion"],
},
vite: {
optimizeDeps: {
exclude: ["@syncfusion/ej2-vue-charts"],
},
},
});
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@nuxt/ui", "@vueuse/nuxt"],
build: {
transpile: ["@syncfusion"],
},
vite: {
optimizeDeps: {
exclude: ["@syncfusion/ej2-vue-charts"],
},
},
});
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server