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

Following your steps, the program cannot run #19

Open
aldalee opened this issue Jan 29, 2024 · 1 comment
Open

Following your steps, the program cannot run #19

aldalee opened this issue Jan 29, 2024 · 1 comment

Comments

@aldalee
Copy link

aldalee commented Jan 29, 2024

The version of Hugo I am currently using is:

PS D:\github.com\whispers-of-two-hearts> hugo version
hugo v0.121.2-6d5b44305eaa9d0a157946492a6f319da38de154 windows/amd64 BuildDate=2024-01-05T12:21:15Z VendorInfo=gohugoio

According to the tutorial on the official website, the content of my hugo.toml configuration file is as follows:

baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = "moments"

Then, I tried to run it, but I encountered the following error:

PS D:\github.com\whispers-of-two-hearts> hugo server
Watching for changes in D:\github.com\whispers-of-two-hearts\{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in D:\github.com\whispers-of-two-hearts\hugo.toml
Start building sites …
hugo v0.121.2-6d5b44305eaa9d0a157946492a6f319da38de154 windows/amd64 BuildDate=2024-01-05T12:21:15Z VendorInfo=gohugoio

Built in 22 ms
Error: error building site: TOCSS: failed to transform "style-refractored.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

I don't know how to solve this problem. I need your help. Thank you!

@FarseaSH
Copy link
Owner

Sorry for the inconvenience. I think you need to install an extended version of Hugo. I will point that out in the README file.

Are you using a Windows machine? Try to follow the official instruction.

https://gohugo.io/installation/windows/#package-managers

choco install hugo-extended

scoop install hugo-extended

winget install Hugo.Hugo.Extended

This should work. Feel free to contact me if you encounter any other problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants