nuxt: Nuxt3 Entry.js tagName.toLowerCase() Error

Environment

  • Operating System: Darwin
  • Node Version: v18.18.2
  • Nuxt Version: 3.7.4
  • CLI Version: 3.9.0
  • Nitro Version: 2.6.3
  • Package Manager: yarn@1.22.19
  • Builder: -
  • User Config: ssr, nitro, devtools, modules, plugins, app, build, vite, runtimeConfig, site, sitemap, robots
  • Runtime Modules: @pinia/nuxt@0.4.11, @pinia-plugin-persistedstate/nuxt@1.1.2, nuxt-simple-sitemap@3.4.0, nuxt-simple-robots@3.1.6
  • Build Modules: -

Reproduction

Sorry, I can’t share code due to corporate law. 😃

Describe the bug

When I go to the home page of my website for no reason, I get this error and that’s why some of my components are not loaded.

When I look at my console, I get the following error in the generated entry.js file, but I cannot make any sense of it.

Additional context

No response

Logs

case Comment:
            if (He !== 8 || Te)
                if (we.tagName.toLowerCase() === "template") {
                    const Ge = me.el.content.firstChild;
                    Me(Ge, we, ye),
                    me.el = we = Ge,
                    Ue = te(we)
                } else
                    Ue = Se();
            else
                Ue = te(we);
            break;

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Reactions: 2
  • Comments: 20 (4 by maintainers)

Most upvoted comments

This seems to be an upstream vue issue -> https://github.com/vuejs/core/issues/9531, thanks @jacky-yanglei for raising it there 🙏

@warflash not sure it’s same issue, but i’m having issue with tagName also. it happens when i use nuxt color-mode module with ant-design-vue to change the color theme

Hello again.

We’ve temporarily resolved the issue by using the old yarn.lock file. We are experiencing an issue due to a package version update, but we haven’t been able to identify which package it is. We’ve found only a temporary solution.

Let’s continue researching my friends!