0
点赞
收藏
分享

微信扫一扫

windows搭建hexo博客报错(Error: Spawn failed at ChildProcess)

windows搭建hexo博客报错(Error: Spawn failed at ChildProcess)

解决方式:

  • 打开先前创建的存放hexo博客的文件夹
  • 删除文件夹 .deploy_git
  • 执行命令 git config --global core.autocrlf false
  • 然后就是 hexo clean
  • hexo g
  • hexo s
  • 最后查看没问题就可以部署到github上了
  • hexo d

注意 建议检查一下自己的 _config.yml 文件里的 repo 仓库地址配置是否正确

详细搭建过程建议观看B站大佬codesheep的视频

举报

相关推荐

0 条评论