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

更新到v0.3.0rc1,用hexo g命令出现解析错误 #13

Closed
XhstormR opened this issue Feb 17, 2015 · 2 comments
Closed

更新到v0.3.0rc1,用hexo g命令出现解析错误 #13

XhstormR opened this issue Feb 17, 2015 · 2 comments
Labels

Comments

@XhstormR
Copy link

这是package.json中的信息

{
  "name": "hexo-site",
  "version": "2.8.3",
  "private": true,
  "dependencies": {
    "hexo-renderer-ejs": "*",
    "hexo-renderer-stylus": "*",
    "hexo-renderer-marked": "*"
  }
}

这是debug.log中的信息

date: "2015-02-17 10:27:18.709"
argv: "d:\\Node\\node.exe d:\\Node\\npm-global\\node_modules\\hexo\\bin\\hexo g"
os: Windows_NT 6.3.9600 win32 x64
versions:
  http_parser: "2.3"
  node: 0.12.0
  v8: 3.28.73
  uv: 1.0.2
  zlib: 1.2.8
  modules: "14"
  openssl: 1.0.1l
  hexo: 2.8.3
-------
ParseError: d:/hexo/themes/next/source/css/_section/sidebar.styl:121
   117|     }
   118|   }
   119| 
   120|   }
 > 121| 
   122| .social-info {
   123|   margin-top: 20px;
   124| }

unexpected "outdent"

    at Parser.error (d:\hexo\node_modules\hexo-renderer-stylus\node_modules\stylus\lib\parser.js:255:11)
    at Parser.stmt (d:\hexo\node_modules\hexo-renderer-stylus\node_modules\stylus\lib\parser.js:773:32)
    at Parser.statement (d:\hexo\node_modules\hexo-renderer-stylus\node_modules\stylus\lib\parser.js:645:21)
    at Parser.parse (d:\hexo\node_modules\hexo-renderer-stylus\node_modules\stylus\lib\parser.js:232:25)
    at Evaluator.importFile (d:\hexo\node_modules\hexo-renderer-stylus\node_modules\stylus\lib\visitor\evaluator.js:87:20)
    at Evaluator.visitImport (d:\hexo\node_modules\hexo-renderer-stylus\node_modules\stylus\lib\visitor\evaluator.js:859:27)
    at Evaluator.Visitor.visit (d:\hexo\node_modules\hexo-renderer-stylus\node_modules\stylus\lib\visitor\index.js:28:40)
    at Evaluator.visit (d:\hexo\node_modules\hexo-renderer-stylus\node_modules\stylus\lib\visitor\evaluator.js:157:18)
    at Evaluator.visitRoot (d:\hexo\node_modules\hexo-renderer-stylus\node_modules\stylus\lib\visitor\evaluator.js:673:27)
    at Evaluator.Visitor.visit (d:\hexo\node_modules\hexo-renderer-stylus\node_modules\stylus\lib\visitor\index.js:28:40)

@iissnan
Copy link
Owner

iissnan commented Feb 17, 2015

已经修复,谢谢反馈!对此引起的不便深感抱歉。修复详情见:06a86a3

@XhstormR
Copy link
Author

thx a lot!

@iissnan iissnan added the Bug label Mar 1, 2015
iT-Boyer pushed a commit to iT-Boyer/hexo-theme-next that referenced this issue May 15, 2017
YAML parser was changed in Hexo 2.8
ivan-nginx added a commit that referenced this issue Aug 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants