RSS Zero 需求验证问卷
RSS Zero 是一个基于 RSS 的信息流推荐工具。持个性化推荐、多平台同步、自动发现、自定义配置、AI 大模型等功能。

0%

hexo-g 报错 Cannot set property ‘lastIndex’ of undefined

hexo-g 报错 Cannot set property ‘lastIndex’ of undefined

作者:草梅友仁

http://huanyouchen.github.io/2018/05/30/hexo-g-error-TypeError-cannot-set-property-lastIndex-of-undefined/

使用 hexo -g 时候报错:TypeError: Cannot set property ‘lastIndex’ of undefined

解决方法:

在配置文件_config.yml 中将 highlight 选项的 auto_detect 设为 false

方法来自:https://github.com/hexojs/hexo/issues/1627

本文作者:草梅友仁
本文地址: https://blog.cmyr.ltd/archives/4b3a011e.html
版权声明:本文采用 CC BY-NC-SA 4.0 协议 进行分发,转载请注明出处!

坚持原创技术分享,您的支持将鼓励我继续创作!