-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR Template render error: Template render error; TypeError: Cannot read property 'path' of undefined #1373
Comments
Thanks for opening this issue, maintainers will get back to you as soon as possible! |
确定在 tags/v7.7.1 中遇到错误? tags/v7.7.1 并没包含 #1346 我没有复现,能不能提供博客源码 |
#1371 似乎是一样问题 |
7.7.0和7.7.1之间对模版的改动: 需要更准确的复现条件。本地测试和网站都没有显示出问题: http://theme-next.org/ |
@jiangtj @stevenjoezhang 不好意思, 我看错了, 我本地复现的是 v7.7.0 和 master 分支, 不是 v7.7.1。 |
@dragonlayout 你能帮助测试下 Can you help test if the problem exists with |
|
If you delete this template, we may close your issue without conducting an investigation.
如果您删除此模版,我们可能会在不进行调查的情况下关闭您的 Issue。
Please check if your Issue fulfills the following requirements. This will guide you to resolve the issue quickly.
请务必确认您在提交此 Issue 前已经查看并完成了下列检查单中的所有事项。这会指导您快速地解决问题。
Issue Checklist
Expected behavior
git clone https://github.com/theme-next/hexo-theme-next themes/next, 然后执行 npx hexo g, 没有报错出现.
Actual behavior
执行 npx hexo g 之后出现报错信息
Steps to reproduce the behavior
Environment Information
Node.js and NPM Information
Package dependencies Information
Hexo Configuration
NexT Configuration
tags/v7.7.1 默认配置,无修改
Other Information
我尝试切换 Next 到 tags/v7.7.0 发现
npx hexo g
可以正常运行 无报错信息, 怀疑是 #1346 导致到问题.在 tags/v7.7.1 修改 themes/next/layout/_partials/head/head.swig 的文件为 tags/v7.7.0 的内容,
npx hexo g
亦可以正常运行 无报错信息The text was updated successfully, but these errors were encountered: