GanZhiXiong / ganzhixiong.github.io

ganzhixiong-github-io.vercel.app
0 stars 0 forks source link

hexo s 报错 FATAL { err: TypeError: line.matchAll is not a function - 干志雄的博客 #55

Open GanZhiXiong opened 2 years ago

GanZhiXiong commented 2 years ago

https://ganzhixiong.com/p/81f9e8f0/

今天执行 hexo s 启动服务时报如下错误: 1234FATAL { err: TypeError: line.matchAll is not a function at res.value.res.value.split.map.line (/Users/ganzhixiong/Documents/blog/node_modules/hexo-util/lib/hig

shihbas commented 1 month ago

This problem should be related Node version, you can try to upgrade node version to v12 or high, Or change this "highlight" to "disable"

See here : https://stackoverflow.com/questions/67516168/i-just-installed-hexo-static-site-generator-on-debian-and-ran-hexo-server-to-see