hexo启动报错 - #18
Open
jamepika wants to merge 506 commits into
Open
Conversation
增加来必力(livere)评论
增加gitment评论
You must have hexo-helper-qrcode installed.
QR code generation without jiathis.com.
Norwegian Bokmål Translation
Fix Quotation Error in Norwegian Translation
修正使用 Waline 时的评论计数部件链接
修复 Fancybox 在 Waline 等评论系统造成的异常
fix: tag links not ending with '/'
fix: optimize the display of tags in the article
對應 Issues #550 "valine"使用國際版的"LeanCloud",在 `new Valine` 的時候必須携帶上 `serverURLs` 參數(在 `LeanCloud控制臺-應用憑證-服務器地址` 可以獲取這個參數)。 已對我的修改做過測試,如果用戶是使用中國版的LeanCloud,則 `_config.yml` 的 `valine->serverURLs` 可以讓用戶根據自己的需求選擇填寫或者留空。
add serverURLs
修复英文超宽不换行
fix: jpeg 图片无法显示 fancybox
Add: Icp support
修复fancybox问题
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
你好,我更新了新版代码之后,启动hexo报错如下:
err: Error: /opt/blog/hexo/themes/maupassant-hexo/layout/_partial/head.pug:54:1
52| include darkmode.pug
53|
> 54|
--------^
The end of the string reached with no closing bracket ) found.
at makeError (/opt/blog/hexo/node_modules/pug-error/index.js:34:13)
at Lexer.error (/opt/blog/hexo/node_modules/pug-lexer/index.js:62:15)
at Lexer.bracketExpression (/opt/blog/hexo/node_modules/pug-lexer/index.js:274:14)
at Lexer.attrs (/opt/blog/hexo/node_modules/pug-lexer/index.js:1445:24)
at Lexer.callLexerFunction (/opt/blog/hexo/node_modules/pug-lexer/index.js:1647:23)
at Lexer.advance (/opt/blog/hexo/node_modules/pug-lexer/index.js:1686:12)
at Lexer.callLexerFunction (/opt/blog/hexo/node_modules/pug-lexer/index.js:1647:23)
at Lexer.getTokens (/opt/blog/hexo/node_modules/pug-lexer/index.js:1706:12)
at lex (/opt/blog/hexo/node_modules/pug-lexer/index.js:12:42)
at Object.lex (/opt/blog/hexo/node_modules/pug/lib/index.js:104:9)
at Function.loadString [as string] (/opt/blog/hexo/node_modules/pug-load/index.js:53:24)
at compileBody (/opt/blog/hexo/node_modules/pug/lib/index.js:82:18)
at Object.exports.compile (/opt/blog/hexo/node_modules/pug/lib/index.js:269:16)
at Function.pugCompile [as compile] (/opt/blog/hexo/node_modules/hexo-renderer-pug/lib/pug.js:30:14)
at _View._precompile (/opt/blog/hexo/node_modules/hexo/lib/theme/view.js:129:33)
at new View (/opt/blog/hexo/node_modules/hexo/lib/theme/view.js:27:10)
at new _View (/opt/blog/hexo/node_modules/hexo/lib/theme/index.js:33:5)
at Theme.setView (/opt/blog/hexo/node_modules/hexo/lib/theme/index.js:65:18)
at /opt/blog/hexo/node_modules/hexo/lib/theme/processors/view.js:14:14