unhead v2 issues in 3.17, new project, infinite recursion, seeking suggestions #32140
Unanswered
Maximus1000
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
072925 Leaving this here in case it comes up for others. Solution was to use Docker. This may have been a VirtualBox or legacy build issue. No such issues when building inside Docker containers.
Hi All,
My local machine, win 10, has something that seems to be interfering with unhead v2 working correctly on any new project for 3.17. Downgrading to 3.15.0 is fine. However, when I create a new default project, 3.17.3 , I get an infinite recursion, 500.
The offender is useHead via the NuxtWelcome component . If I remove it or the useHead statement, the page will load. However, when useHead is inside App.vue, I get a 500 Maximum call stack size exceeded
at useHead (...node_modules/dist/head/runtime/composables/v3.js:24:46)
This is an issue on my machine, not common. Seen by at least one other person.
https://www.answeroverflow.com/m/1364585220812181637
I've tried force clearing npm cache from AppData, user folders, from my root project folder, from the new folder, everything I can think of as well as advised by AI. So, somewhere on my PC, I've got something legacy that is breaking unhead v2. Nothing in issues or comments on unhead seems to help.
Does anyone have any advice to further troubleshoot? I know this is not a common issue. I can successfully create a current Vue3 project as well as a Nuxt 3.15 with unhead v1. I know about unhead v1 legacy mode but am trying to avoid that.
Appreciate any advice.
Marcus
Beta Was this translation helpful? Give feedback.
All reactions