【hexo】踩坑

30

1.安装node会自动安装对应的npm版本 查看版本对应 https://nodejs.org/zh-cn/download/releases/ 2.git clone失败 git config http.sslVerify “false” git init 再次git config http.sslVerify “false” https://blog.csdn.net/qq_45644092/article/details/105625876?utm_medium=distribute.pc_relevant.none-task-blog-baidujs_utm_term-0&spm=1001.2101.3001.4242 3.本地运行出现extends includes/layout.pug block content include ./includes/mixins/post-ui.pug #recent-posts.recent-posts +postUI include includes/pagination.pug 输入 npm install --save hexo-renderer-jade hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive https://zhuanlan.zhihu.com/p/137946156

4.hexo d后 ERROR Deployer not found: git

npm install --save hexo-deployer-git https://blog.csdn.net/weixin_36401046/article/details/52940313

感谢以上老哥