Still very much learning JS, but I'm struggling with this issue.
In the VS code debug environment, everything works, but when I deploy to Netlify, some routes work only sometimes. For example, this route, along with the other /interests routes, either 404s, loads a blank page, or occasionally just works.
The code behind those pages is here. The other nuxt-content pages in /posts, /tags, and /wip all work fine.
I get no errors that I can see related to this in the dev environment. I'm still new to js troubleshooting, but when I load up dev tools in Chrome, I sometimes see an error "DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method."
I've researched that error leading me to a few posts on the topic:
- Nuxtjs issue
- Vuejs error on client side
- Hydration errors blog pos
- failed to execute 'appendChild' node
- full static mode dynamic pages payload 404 errors
I've tried various solutions from there including replacing v-if with v-show, and cleaning up <p>
tags, and wrapping various things in <client-only>
but the problem persists.
Anyone have insight into what I'm doing wrong?