-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Misleading Nunjucks error message #3859
Comments
Does Can you try disable external_link:
enable: false |
i have the same problem! |
Hi @curbengh , sorry for the late reply. I have something in I tried to disable |
i have the same problem! |
@curbengh This doesn't work for my case. Turned it off, the error message changed into following:
My
|
I tried to establish Hexo site from scratch but still failed to generate HTMLs because of this issue.
When the
When the My
My
I already tried |
I finally found the social links in next config matters. The error would disappear if I remove More specifically, the link without font awesome target matters, for example:
|
Also found hexo-renderer-asciidoc would hit this error, fixed by upgrading it to v2.0.0 |
I also find this question!!! |
Great solution! |
i find the same question, and can resolve the question. the hexo-theme-next has the question? |
+1. I have the same problem too. Have u solve this issue @TingxunShi @yszar theme-next has the above problem. theme landscape works fine. |
url
in _config.yml is filled)
The Nunjucks renderer has become part of Hexo, thus I think it is necessary to reconsider this issue. Since Nunjucks returns null instead of an empty string when it encounters a rendering error, some Hexo plugins will throw errors when trying to execute the |
We could add a failsafe by returning an empty string.
Help is needed. |
@12121-12121 是否方便提供 |
您能详细的说一下吗? |
当然。
|
@SukkaW See also mozilla/nunjucks#1272 mozilla/nunjucks#1301 @12121-12121 你遇到的 bug 似乎和这里讨论的问题不同,建议到你新开的 Issue 中讨论 #4419 |
@stevenjoezhang It appears that the newest Nunjucks has been released. I will bring up a PR to update to latest Nunjucks and bring up a test case accordingly. |
Check List
Please check followings before submitting a new issue.
hexo version
to check)Question
Error message below is shown (I'm sure that I have filled in
url:
field in my hexo_config.yml
)Environment & Settings
Node.js & npm version
Your site
_config.yml
(Optional)Your theme
_config.yml
(Optional)Hexo and Plugin version(
npm ls --depth 0
)Your package.json
package.json
Others
The text was updated successfully, but these errors were encountered: