Failed to execute 'appendChild' on 'Node': This node type does not support this method.
See original GitHub issue- I confirm that this is an issue rather than a question.
Bug report
Steps to reproduce
What is expected?
What is actually happening?
Other relevant information
- Output of
npx vuepress info
in my VuePress project:
When I develop my docs in development environment, it is ok. When i build it and put it on my server with nginx, it is also ok. However when i refresh the page with routes like this http://xxx.com/develop It has the error below
Issue Analytics
- State:
- Created 4 years ago
- Reactions:13
- Comments:29 (2 by maintainers)
Top Results From Across the Web
Failed to execute 'appendChild' on 'Node': This node type ...
I've tracked it down the error ( Failed to execute 'appendChild' on 'Node' ) to occur when the first children of a page...
Read more >nuxt js "Failed to execute 'appendChild' on 'Node'
DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method. both errors occur in the same scenario.
Read more >DOMException: Failed to execute 'appendChild' on 'Node'
DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method. I have this error only on mobile, Any ......
Read more >DOMException: Failed to execute 'appendChild' on 'Node'
DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method. The error is caused 100% by the form...
Read more >Failed to execute 'appendChild' on 'Node'
Failed to execute 'appendChild' on 'Node': This node type does not support this method.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just a hint: Another common mistake is to use dynamic vue components that should render client side but forget to ignore them in static builds… 99% of those issues in our projects were missing
<ClientOnly>
. So try:and read https://vuepress.vuejs.org/guide/using-vue.html
I have no enhanceApp.js file and no nginx, but still have this issue.