常见错误7-搭建hexo,在执行hexo deploy后,出现 error deployer not found:github的错误
not found:github或者not found:git
hexo 更新到3.0之后,deploy的type 的github需要改成git
先执行
npm install hexo-deployer-git --save
改了之后执行,然后再部署。
配置那里的冒号后面是有一个半角的空格的.yaml语法要求严格,注意空格,冒号后面要有一个空格。
著作权声明:本文由http://my.csdn.net/Nathan1987_原创,欢迎转载分享。请尊重作者劳动,转载时保留该声明和作者博客链接,谢谢