Sorry for no repo as I'm not sure what is causing this but I'l do my best to explain what I found out
This issue is caused by the ssr trying to render the page and finding a comment block


This comment appears under the __nuxt div:

I have no idea why is this comment showing up there.
This is a random issue, as removing node modules and package.lock then reinstalling (might) fix this, or it might not, it might cause it, randomly.
Honestly I've been trying to solve this for the last 2 days and I'm about to lose my mind about that comment that just shows up and disappears every time
Please help and dont shun me for not opening a repo I just cant.
explained above
explained above
I have the same issue! Tried multiple workarounds, but I didn't have any luck.
I've found that clearing localStorage removes this error so the nuxt@auth module may be responsible...
Edit: nevermind, this was caused by SSR issues. Wrapping some of my components in the <no-ssr /> tag fixed this.
this usually happens when:
If you do the latter, you canwrap all your auth checks in your markup in NoSsr components for a workaround.
It's a bit difficult to explain, but I'll write a bit up on that later.
Your state should be same on ssr and client. See https://ssr.vuejs.org/guide/hydration.html
Thanks for your contribution to Nuxt.js!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you would like this issue to remain open:
Issues that are labeled as pending will not be automatically marked as stale.
Thanks for your contribution to Nuxt.js!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you would like this issue to remain open:
Issues that are labeled as pending will not be automatically marked as stale.