vuepress icon indicating copy to clipboard operation
vuepress copied to clipboard

DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method. at Object.appendChild

Open ajunxu opened this issue 4 years ago • 5 comments

  • [ ] I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

当在博客页面,点击跳转至博客的另一个页面,配置的跳转链接是全路径,包含域名的,但是跳转过去左侧导航栏不存在,页面提示404,控制台报错如下(刷新页面即可加载出来): DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method. at Object.appendChild

What is expected?

希望在博客内跳转博客的其他页面能正常展示出来

What is actually happening?

Other relevant information

  • Output of npx vuepress info in my VuePress project:

ajunxu avatar Jan 04 '21 08:01 ajunxu

请问解决了吗?我也遇到一样的问题,我是开发环境正常,部署到站点以后刚进页面就报这个错误,页面一直在 loading

foxhsx avatar Feb 09 '21 02:02 foxhsx

解决了,跳转的配置问题,官方文档中有说明https://www.vuepress.cn/guide/markdown.html#%E9%93%BE%E6%8E%A5

ajunxu avatar Feb 26 '21 09:02 ajunxu

image 参考这里的设置即可

ajunxu avatar Feb 26 '21 09:02 ajunxu

请问解决了吗?我也遇到一样的问题,我是开发环境正常,部署到站点以后刚进页面就报这个错误,页面一直在 loading

请问怎么解决的,我的部署到GitHub page没问题,但是绑定域名后通过域名直接访问就出现一直loading的情况

bit15k avatar Jan 25 '22 22:01 bit15k

请问解决了吗?我也遇到一样的问题,我是开发环境正常,部署到站点以后刚进页面就报这个错误,页面一直在 loading

请问怎么解决的,我的部署到GitHub page没问题,但是绑定域名后通过域名直接访问就出现一直loading的情况

参考官方文档链接那章配的跳转链接吗?我上面按照文档那样配置解决了

ajunxu avatar Feb 16 '22 13:02 ajunxu