gethugothemes/bookworm-light-hugo

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

Tediace opened this issue · 7 comments

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

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

sure iam gonna try install hugo extended

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

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 ../..

ok thank u sir

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

thank u so much