Skip to content
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

文件名中的符号'-'引发错误 #2

Closed
zhangleijuly opened this issue Jan 22, 2014 · 3 comments
Closed

文件名中的符号'-'引发错误 #2

zhangleijuly opened this issue Jan 22, 2014 · 3 comments

Comments

@zhangleijuly
Copy link

运行环境Koding虚拟机
经测试去掉文件名中的'-'号之后就正常了

Log如下
[error] HexoError: Process failed: _posts/cheng-1.md
TypeError: Cannot call method 'match' of undefined
at Object.module.exports.process (/home/zhangleijuly/blog/node_modules/hexo-broken-link-checker/lib/util/url.js:12:18)
at null. (/home/zhangleijuly/blog/node_modules/hexo-broken-link-checker/lib/util/htmlParser.js:27:26)
at exports.each (/home/zhangleijuly/blog/node_modules/hexo-broken-link-checker/node_modules/cheerio/lib/api/traversing.js:226:24)
at HtmlParser.processTag (/home/zhangleijuly/blog/node_modules/hexo-broken-link-checker/lib/util/htmlParser.js:23:25)
at HtmlParser.processATags (/home/zhangleijuly/blog/node_modules/hexo-broken-link-checker/lib/util/htmlParser.js:48:15)
at BrokenLinkChecker.processRawData (/home/zhangleijuly/blog/node_modules/hexo-broken-link-checker/lib/core/brokenLinkChecker.js:236:49)
at module.exports (/home/zhangleijuly/blog/node_modules/hexo-broken-link-checker/lib/filter.js:10:11)
at /usr/lib/node_modules/hexo/lib/post/render.js:126:11
at iterate (/usr/lib/node_modules/hexo/node_modules/async/lib/async.js:131:13)
at /usr/lib/node_modules/hexo/node_modules/async/lib/async.js:142:25
at /usr/lib/node_modules/hexo/lib/post/render.js:133:13
at module.exports (/usr/lib/node_modules/hexo/lib/plugins/filter/excerpt.js:15:3)
at /usr/lib/node_modules/hexo/lib/post/render.js:126:11
at iterate (/usr/lib/node_modules/hexo/node_modules/async/lib/async.js:131:13)
at /usr/lib/node_modules/hexo/node_modules/async/lib/async.js:142:25
at /usr/lib/node_modules/hexo/lib/post/render.js:133:13
at module.exports (/usr/lib/node_modules/hexo/lib/plugins/filter/external_link.js:31:3)
at /usr/lib/node_modules/hexo/lib/post/render.js:126:11
at iterate (/usr/lib/node_modules/hexo/node_modules/async/lib/async.js:131:13)
at /usr/lib/node_modules/hexo/node_modules/async/lib/async.js:142:25
at /usr/lib/node_modules/hexo/lib/post/render.js:133:13
at module.exports (/usr/lib/node_modules/hexo/lib/plugins/filter/auto_spacing.js:4:41)
at /usr/lib/node_modules/hexo/lib/post/render.js:126:11
at iterate (/usr/lib/node_modules/hexo/node_modules/async/lib/async.js:131:13)
at Object.async.eachSeries (/usr/lib/node_modules/hexo/node_modules/async/lib/async.js:147:9)
at /usr/lib/node_modules/hexo/lib/post/render.js:125:15
at store.(anonymous function) (/usr/lib/node_modules/hexo/lib/extend/renderer.js:67:9)
at /usr/lib/node_modules/hexo/lib/core/render.js:96:9
at fn (/usr/lib/node_modules/hexo/node_modules/async/lib/async.js:579:34)
at Object._onImmediate (/usr/lib/node_modules/hexo/node_modules/async/lib/async.js:495:34)

@sergiolepore
Copy link
Owner

@zhangleijuly I'll be checking this ASAP. By the way, could you send me your cheng-1.md file? Thanks!

@zhangleijuly
Copy link
Author

@sergiolepore
I have just mailed it to you.
Thank you.

@sergiolepore
Copy link
Owner

@zhangleijuly Please, update the plugin by running npm update on the root directory of your blog. Current version is 1.0.1. Thanks for the feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants