hexo添加feed插件后报错
123456FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.htmlTemplate render error: (unknown path) [Line 8, Column 23]Error: Unable to call `the return value of (posts["first"])["updated"]["toISOStrin"]`, which is undefined or falseyat Object.exports.withPrettyErrors (E:\hexo\node_modules\hexo-generator-feed\node_modules\nunjucks\src\lib.js:35:17)at Obj.extend.render (E:\hexo\node_modules\hexo-generator-feed\node_modules\nunjucks\src\environment.js:374:20)at Hexo.module.exports (E:\hexo\node_modules\hexo-generator-feed\lib\generator.js:33:22)添加feed插件后hexo server无法使用
原因是在站点的配置文件中添加了
12plugins:- hexo-generator-feed去掉改配置,将依赖添加到站点的package.json中即可解决
升级win10后,hexo d 无法部署问题
重新生成公钥,gitbash将公钥默认生成到C:\Windows\System32\config\systemprofile.ssh目录下 需要保证用户对该目录有读写权限
hexo问题记录
欢迎您扫一扫上面的微信公众号,订阅我的博客!
坚持原创技术分享,您的支持将鼓励我继续创作!