-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Upgrade to 6.5.0 occurs error, message: highlight-gutter has no property .color [solved] #480
Comments
hi, is there anybody can help me ? |
Can you provide your |
Paste your config file at js-yaml, and remove duplicate keys. |
@maple3142 hello, I have similar problem. This is my config file. But using issnan/hexo-theme-next, my config works well. |
@norangLemon Can you elaborate which part doesn't work? |
@maple3142 omg I failed to make this error again 😢 |
@shijiebei2009 @norangLemon guys. I don't understand how you getting same errors, but i think @maple3142 right – somehere in config wrong formatting. |
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
this is because configuration file is malformed. so this issue should be closed. |
I agree and want to create new issue
Expected behavior
Actual behavior
$ hexo s -g
INFO Start processing
ERROR Theme config load failed.
ERROR Process failed: _config.yml
Error
at generateError (D:\hexo\node_modules\hexo\node_modules\js-yaml\lib\js-yaml\loader.js:162:10)
at throwError (D:\hexo\node_modules\hexo\node_modules\js-yaml\lib\js-yaml\loader.js:168:9)
at storeMappingPair (D:\hexo\node_modules\hexo\node_modules\js-yaml\lib\js-yaml\loader.js:307:7)
at readBlockMapping (D:\hexo\node_modules\hexo\node_modules\js-yaml\lib\js-yaml\loader.js:1070:9)
at composeNode (D:\hexo\node_modules\hexo\node_modules\js-yaml\lib\js-yaml\loader.js:1331:12)
at readDocument (D:\hexo\node_modules\hexo\node_modules\js-yaml\lib\js-yaml\loader.js:1493:3)
at loadDocuments (D:\hexo\node_modules\hexo\node_modules\js-yaml\lib\js-yaml\loader.js:1549:5)
at Object.load (D:\hexo\node_modules\hexo\node_modules\js-yaml\lib\js-yaml\loader.js:1566:19)
at Hexo.yamlHelper (D:\hexo\node_modules\hexo\lib\plugins\renderer\yaml.js:7:15)
at Hexo.tryCatcher (D:\hexo\node_modules\hexo\node_modules\bluebird\js\release\util.js:16:23)
at Hexo. (D:\hexo\node_modules\hexo\node_modules\bluebird\js\release\method.js:15:34)
at D:\hexo\node_modules\hexo\lib\hexo\render.js:61:21
at tryCatcher (D:\hexo\node_modules\hexo\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (D:\hexo\node_modules\hexo\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (D:\hexo\node_modules\hexo\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (D:\hexo\node_modules\hexo\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (D:\hexo\node_modules\hexo\node_modules\bluebird\js\release\promise.js:693:18)
at Async._drainQueue (D:\hexo\node_modules\hexo\node_modules\bluebird\js\release\async.js:133:16)
at Async._drainQueues (D:\hexo\node_modules\hexo\node_modules\bluebird\js\release\async.js:143:10)
at Immediate.Async.drainQueues (D:\hexo\node_modules\hexo\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
ERROR Asset render failed: css/main.css
Error: D:/hexo/themes/next-6.5.0/source/css/_common/components/highlight/highlight.styl:84:30
80|
81| .gutter pre {
82| padding-left: 10px
83| padding-right: 10px
84| color: $highlight-gutter.color
------------------------------------^
85| text-align: right
86| background-color: $highlight-gutter.bg-color
87| }
$highlight-gutter has no property .color
at ".gutter pre " (D:/hexo/themes/next-6.5.0/source/css/_common/components/highlight/highlight.styl:80:4)
at ".highlight " (D:/hexo/themes/next-6.5.0/source/css/_common/components/highlight/highlight.styl:38:2)
Steps to reproduce the behavior
Node.js and NPM Information
Package dependencies Information
Hexo Information
Hexo version
Hexo Configuration
NexT Information
NexT Version:
NexT Scheme:
NexT Configuration:
Other Information
The text was updated successfully, but these errors were encountered: