dillonzq / LoveIt

❤️A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题
https://hugoloveit.com
MIT License
3.35k stars 1.07k forks source link

[BUG] LoveIt isn't compatible with hugo v0.109.0 #781

Closed faimin closed 1 year ago

faimin commented 1 year ago

Describe the bug

Run peaceiris/actions-hugo@v2
Hugo version: 0.109.0
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/actions_hugo/_temp -f /home/runner/work/_temp/477f8ae7-cbca-4c1a-93a2-7960ec12f6e6
/home/runner/actions_hugo/bin/hugo version
hugo v0.109.0-47b12b83e636224e[5](https://github.com/faimin/faimin.github.io/actions/runs/3775232680/jobs/6417787906#step:4:6)e[6](https://github.com/faimin/faimin.github.io/actions/runs/3775232680/jobs/6417787906#step:4:7)01813ff3e6[7](https://github.com/faimin/faimin.github.io/actions/runs/3775232680/jobs/6417787906#step:4:8)90c191e371 linux/amd64 BuildDate=2022-12-23T10:3[8](https://github.com/faimin/faimin.github.io/actions/runs/3775232680/jobs/6417787906#step:4:9):11Z VendorInfo=gohugoio
Run hugo --minify
WARN 2022/12/25 09:25:04 Module "LoveIt" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Start building sites … 
hugo v0.109.0-47b12b83e636224e5e601813ff3e6790c191e371 linux/amd64 BuildDate=2022-12-23T10:38:11Z VendorInfo=gohugoio
ERROR 2022/12/25 09:25:05 TOCSS: failed to transform "lib/valine/valine.scss" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS with transpiler set to 'libsass'.: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Error: Error building site: TOCSS: failed to transform "css/style.scss" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS with transpiler set to 'libsass'.: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Total in 610 ms
Error: Process completed with exit code 255.

Build Environment 构建环境

nekr0z commented 1 year ago

LoveIt is actually quite compatible with Hugo 0.109. The problem with this particular build is that you are trying to use the non-extended version of Hugo. You need to either switch off features such as Valine, or follow the documentation recommendations.

faimin commented 1 year ago

LoveIt is actually quite compatible with Hugo 0.109. The problem with this particular build is that you are trying to use the non-extended version of Hugo. You need to either switch off features such as Valine, or follow the documentation recommendations.

You are right. Thanks for your answer.