报错1


FATAL {
err: Error: Spawn failed
at ChildProcess.<anonymous> (/usr/local/src/hexo/cairbin/node_modules/hexo-util/lib/spawn.js:51:21)
at ChildProcess.emit (events.js:376:20)
at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) {
code: 128
}
} Something's wrong. Maybe you can find the solution here: %s https://hexo.io/docs/troubleshooting.html

解决方案

  • 进行以下处理
##进入博客根目录(以我的为例)
cd /usr/local/src/hexo/cairbin/ ##删除git提交文件夹
rm -rf .deploy_git/ git config --global core.autocrlf false
  • 最后重新生成提交
hexo clean && hexo g && hexo d

在提交的过程可能又出现以下报错

报错2

! [remote rejected] master -> master (push declined due to email privacy restrictions)

解决方案

  • 这是因为你的github设置出了问题
  • 浏览器进入github.com
  • 登陆github -> "+" ->settings
  • 后续操作如下图

  • 将下方这两个设置取消勾选

  • 重新提交
hexo clean && hexo g && hexo d

大功告成

如果不报错,重新访问页面,就发现已经提交成功了

最新文章

  1. ABP文档 - Hangfire 集成
  2. windows8.1下javaweb环境搭建及基本配置(jdk+tomcat+eclipse)
  3. 驱动学习---PAE--virtual address to physics address
  4. PHP获取IP地址
  5. 深入理解php中的ini配置(1)
  6. ubuntu 更新 rtl8192cu 驱动
  7. CSS学习笔记之定位
  8. HTTP层 —— 路由
  9. 设置button 不可被点击
  10. css3基础教程十六变形与动画animation
  11. 招行ODC项目表彰
  12. SQL Server 数据库定时自动备份【转】
  13. Xamarin之 环境错误集锦
  14. angularjs 字段排序 多字段排序
  15. python 网络编程 IO多路复用之epoll
  16. IDEA2017.3.5破解
  17. mingw 构建 gdal 2.1.2
  18. 解决element-ui upload组件报错 Avoid using non-primitive value as key, use string/number value instead
  19. usermod命令详解
  20. [NL系列] RNN &amp; LSTM 网络结构及应用

热门文章

  1. JavaWeb——Tomcat使用
  2. 6月6日 python复习 面向对象
  3. 《前端运维》五、k8s--1安装与基本配置
  4. 【算法】两个list合并
  5. Where和having都是条件筛选关键字,它们有什么分别?
  6. javax.net.ssl.sslhandshakeException:sun.security.validator.validatorException:PKIX path buildind failed
  7. 解释基于XML Schema方式的切面实现?
  8. 两个对象值相同(x.equals(y) == true),但却可以有不同的hashcode?
  9. BUG战斗史 —— 日期格式与字符串之间的转换
  10. Kube-OVN:大型银行技术团队推荐的金融级云原生网络方案