gethugothemes / bookworm-light-hugo

Bookworm is a clean and modern Hugo blog theme focused on high speed and support multiple authors.
https://gethugothemes.com/products/bookworm/?utm_source=bookworm_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
100 stars 76 forks source link

i was star hugo server in this theme and then i got error #7

Closed Tediace closed 3 years ago

Tediace commented 3 years ago

tart building sites … hugo v0.88.1-5BC54738 windows/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio Error: Error building site: TOCSS: failed to transform "style.main.scss" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS.

please help me thank u

somratpro commented 3 years ago

Hello @Tediace

The answer is in the error log, "you need the extended version". so please install hugo_extended version. and try it again. thank you

Tediace commented 3 years ago

sure iam gonna try install hugo extended

Tediace commented 3 years ago

i just install hugo extended version and i try to run the server again and i got this error Start building sites … hugo v0.88.1-5BC54738+extended windows/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio Error: Error building site: TOCSS: failed to transform "style.main.scss" (text/x-scss): SCSS processing failed: file "C:/hugo_extended/bin/blog_forme/themes/bookworm-light/assets/scss/_typography.scss", line 2, col 15: Undefined variable: "$h1".

what should i do? thnk u

somratpro commented 3 years ago

Maybe you are missing something. follow my steps:

  1. clone this repo: git clone https://github.com/gethugothemes/bookworm-light.git
  2. open the terminal on it, or run: cd bookworm-light
  3. run: cd exampleSite && hugo server --themesDir ../..
Tediace commented 3 years ago

ok thank u sir

fer-ri commented 2 years ago

Or you can just using config.toml from this repo for your main project

Tediace commented 2 years ago

thank u so much