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

Generate error #11

Closed
ghost opened this issue Dec 13, 2012 · 4 comments
Closed

Generate error #11

ghost opened this issue Dec 13, 2012 · 4 comments
Labels
question Needs help in usage

Comments

@ghost
Copy link

ghost commented Dec 13, 2012

環境

  • OSX 10.8.2
  • Hexo 0.1.11

事前已看過 #4 的解決方法,已仔細檢查過全局檔案皆有在冒號後加上空白鍵,不過該錯誤依然存在:

/Users/<user name>/nvm/v0.8.14/lib/node_modules/hexo/node_modules/yamljs/bin/yaml.js:1219
            throw new YamlParseException('Unable to parse.', this.getRealCurrentLineNb
YamlParseException: Unable to parse.

重新安裝 nvm + node.js + hexo 問題依然存在,求解答。

@tommy351
Copy link
Member

  1. 問題是只要執行hexo就會發生,還是僅在generate時發生?
  2. _config.yml內的tab是用space還是tab?

也有可能是我選用的外掛模組的問題...

@ghost
Copy link
Author

ghost commented Dec 13, 2012

  1. 後者
  2. 是 space

停用外掛模組也不能解決問題……

@tommy351
Copy link
Member

第一題是後者的話,就有可能是主題或文章的問題了,檢查看看吧?

@ghost
Copy link
Author

ghost commented Dec 13, 2012

太大意了,果然是文章漏了 space,感謝。

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

No branches or pull requests

1 participant