Coder Social home page Coder Social logo

Configured with Hexo data file format (merged themes/next/_config.yml into hexo/_config.yml), but when using hexo g && hexo s, no main.css file was generated about hexo-theme-next HOT 6 CLOSED

theme-next avatar theme-next commented on May 26, 2024
Configured with Hexo data file format (merged themes/next/_config.yml into hexo/_config.yml), but when using hexo g && hexo s, no main.css file was generated

from hexo-theme-next.

Comments (6)

wafer-li avatar wafer-li commented on May 26, 2024

Use English, please.

from hexo-theme-next.

Wegome avatar Wegome commented on May 26, 2024

@wafer-li sorry. updated issue.

from hexo-theme-next.

ivan-nginx avatar ivan-nginx commented on May 26, 2024

Try to download latest master branch, this bug seems was fixed. Will be merged into 6.0.2 release tomorrow.

See data-files instructions in EN or CN language.

from hexo-theme-next.

Wegome avatar Wegome commented on May 26, 2024

@ivan-nginx ok, thanks. i'll try tomorrow.

from hexo-theme-next.

shijiebei2009 avatar shijiebei2009 commented on May 26, 2024

configed with Hexo data file format (merged themes/next/_config.yml into hexoblog/_config.yml), but when using hexo g && hexo s, no main.css file was generated in hexoblog/public/css folder,

and hexo s dubug showed error below:
ERROR Asset render failed: css/main.css
Error: D:/AServers/hexobdg/themes/next/source/css/_common/components/highlight/h
ighlight.styl:79:30
75|
76| .gutter pre {
77| padding-left: 10px
78| padding-right: 10px
79| color: $highlight-gutter.color
------------------------------------^
80| text-align: right
81| background-color: $highlight-gutter.bg-color
82| }
...

$highlight-gutter has no property .color
at ".gutter pre " (D:/AServers/hexobdg/themes/next/source/css/_common/compon
ents/highlight/highlight.styl:75:4)
at ".highlight " (D:/AServers/hexobdg/themes/next/source/css/_common/compone
nts/highlight/highlight.styl:39:2)

however using both hexoblog/source/data/NexT.yml to config and the legacy Hexo 2.x way to config, there generated main.css file in hexoblog/public/css folder.

could you please help?

我碰到一样的问题,请问你是怎么解决的?
ERROR Asset render failed: css/main.css
Error: D:/hexo/themes/next/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/source/css/_common/components/highlight/highlight.styl:80:4)
at ".highlight " (D:/hexo/themes/next/source/css/_common/components/highlight/highlight.styl:38:2)

from hexo-theme-next.

stevenjoezhang avatar stevenjoezhang commented on May 26, 2024

The styl file is malformed. Need to reinstall NexT.

from hexo-theme-next.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.