Skip to content
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

[Q&A] TOCSS: failed to transform "/css/style.scss" (text/x-scss) #565

Closed
eason-0501 opened this issue Dec 26, 2024 · 1 comment
Closed
Labels
Q&A question and answer

Comments

@eason-0501
Copy link

Describe the bug 描述你遇到的错误

> hugo server

WARN  Module "FixIt" is not compatible with this Hugo version: Min 0.140.0 extended; run "hugo mod graph" for more information.
Watching for changes in /home/eason/data/blog-test/{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in /home/eason/data/blog-test/hugo.toml, /home/eason/data/blog-test/themes/FixIt/hugo.toml
Start building sites … 
hugo v0.140.1-a9b0b95ef402a1cc70bc5386d649d947e2bcc027 linux/amd64 BuildDate=2024-12-23T16:26:35Z VendorInfo=gohugoio

WARN  FixIt v0.3.17-21750077
当前运行环境是“development”。“评论系统”、“PWA”、“CDN”、“fingerprint”和“统计”不会启用。
WARN  FixIt v0.3.17-21750077
您正在使用开发版的 FixIt,请考虑使用稳定版。
见 https://github.com/hugo-fixit/FixIt/releases
You can suppress this warning by adding the following to your site configuration:
ignoreLogs = ['warning-dev-version']
ERROR 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
Built in 36 ms
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
> hugo mod graph               
              
WARN  Module "FixIt" is not compatible with this Hugo version: Min 0.140.0 extended; run "hugo mod graph" for more information.
project FixIt
> hugo version  
hugo v0.140.1-a9b0b95ef402a1cc70bc5386d649d947e2bcc027 linux/amd64 BuildDate=2024-12-23T16:26:35Z VendorInfo=gohugoio

Expected behavior 期待的行为

No response

Screenshots 屏幕截图

image
image
image

Build Environment 构建环境

  • OS: Arch Linux
  • hugo version: hugo v0.140.1-a9b0b95ef402a1cc70bc5386d649d947e2bcc027

Preview Environment 预览环境

  • OS: Arch Linux
  • hugo version: hugo v0.140.1-a9b0b95ef402a1cc70bc5386d649d947e2bcc027
  • Chrome

Additional Information 补充信息

No response

@eason-0501 eason-0501 added the bug Something isn't working label Dec 26, 2024
@Lruihao
Copy link
Member

Lruihao commented Dec 26, 2024

Use Hugo extended edition, v0.140.0 or later

@Lruihao Lruihao added Q&A question and answer and removed bug Something isn't working labels Dec 26, 2024
@Lruihao Lruihao closed this as completed Dec 27, 2024
@Lruihao Lruihao changed the title [BUG] TOCSS: failed to transform "/css/style.scss" (text/x-scss) [Q&A] TOCSS: failed to transform "/css/style.scss" (text/x-scss) Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Q&A question and answer
Projects
None yet
Development

No branches or pull requests

2 participants