hexo踩过的坑

衷告:不要用npm了,用cnpm吧

解决npm一直有found 658 vulnerabilities (654 low, 3 moderate, 1 high) in 2770 scanned packages
run npm audit fix to fix 1 of them.
https://blog.csdn.net/MaXumr/article/details/107384838
解决nrm不行
https://blog.csdn.net/zhuzicc/article/details/101023144

解决打开界面出现这个:extends ./includes/layout.pug block content .home-view include includes/main.pug

cnpm install --save hexo-renderer-jade hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive
遇到错误

缺什么安什么
cnpm install bufferutil@^4.0.1
然后就无法进行了

之后又找了一条路,大更新
https://blog.csdn.net/whjkm/article/details/81088518

更新完后照着这个博主的步骤走
https://lruihao.cn/posts/hexobuild.html

然而还是什么都没有
想了想也许需要升级 json了

九九八十一难后总算

posted @ 2021-04-13 23:00  Hanabi_521  阅读(96)  评论(0编辑  收藏  举报