N
Nuxt17mo ago
Raiju

scripts in nuxt.config is getting added/loaded twice

can anyone help me why this happens? I have scripts like segment, intercom and others added in nuxt.config we are currently in 3.0.0-rc.3 something like:
in nuxt.config

export default defineNuxtconfig({
app: {
head: {
scripts: [
{
// code here
}
]
}
}
})
in nuxt.config

export default defineNuxtconfig({
app: {
head: {
scripts: [
{
// code here
}
]
}
}
})
No description
7 Replies
Raiju
RaijuOP17mo ago
as you can see the init console message is being called twice, one coming from page itself then one coming from the VM
warflash
warflash17mo ago
Have you tried reproducing this with a more recent - stable version? Could very well be a bug that has been fixed in the last year-ish since rc3 was released
Raiju
RaijuOP17mo ago
not yet, any idea what the stable release to date? we tried migrating before but there are a lots of errors
warflash
warflash17mo ago
any idea what the stable release to date?
wdym? 3.6.5 is me most recent one if that's the question
Raiju
RaijuOP17mo ago
yeah we are trying 3.6.5 but have issues still https://github.com/nuxt/nuxt/issues/22381
GitHub
Nuxt welcome page throws error 500 out of box on fresh install · Is...
Environment Operating System: Darwin Node Version: v18.16.0 Nuxt Version: 3.6.5 Nitro Version: 2.5.2 Package Manager: [email protected] Builder: vite User Config: devtools Runtime Modules: - Build Modules:...
warflash
warflash17mo ago
GitHub
Element missing end tag in component after recent update. · Issue ...
Environment Operating System: Linux Node Version: v16.20.0 Nuxt Version: 3.6.5 Nitro Version: 2.5.2 Package Manager: [email protected] Builder: vite User Config: devtools Runtime Modules: - Build Modules: ...
Raiju
RaijuOP17mo ago
then I guess we will try updating our packages
Want results from more Discord servers?
Add your server