亲测解决hexo syntaxerror unexpected token ...

hexo syntaxerror unexpected token …

解决方案

参考https://www.jianshu.com/p/a39573555039使用

hexo -v

出现这个bug原因是nodejs版本太低,建议卸载nodejs后,从官网手动安装最新版。https://nodejs.org/en/

在这里插入图片描述

参考

https://blog.csdn.net/u012313361/article/details/107480635
https://blog.csdn.net/ooooooobh/article/details/106413952

posted @ 2020-12-08 17:36  狂小虎  阅读(138)  评论(0)    收藏  举报