Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

Error building site: TOCSS: failed to transform "css/style.scss" (text/x-scss) #307

Open
mathieu-benoit opened this issue Oct 29, 2022 · 6 comments

Comments

@mathieu-benoit
Copy link

mathieu-benoit commented Oct 29, 2022

I just integrated the last version of this theme with my Hugo website in version 0.105.0, but I'm getting this error when running hugo -v -s /site -d /site/public:

Step 7/13 : RUN hugo -v -s /site -d /site/public
 ---> Running in baaf5d503b32
Start building sites … 
hugo v0.105.0-0e3b42b4a9bdeb4d866210819fc6ddcf51582ffa linux/amd64 BuildDate=2022-10-28T12:29:05Z VendorInfo=gohugoio
INFO 2022/10/29 14:49:21 syncing static files to /
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.: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information

Is there anything to do on my end to integrate this new version of this theme?

@panr
Copy link
Owner

panr commented Oct 29, 2022

Hey, as the error says — you need to install the extended version of Hugo.

@panr
Copy link
Owner

panr commented Oct 29, 2022

I think I need to add this info to the README

@mathieu-benoit
Copy link
Author

That would be great to document this indeed, thanks!

@panr
Copy link
Owner

panr commented Oct 29, 2022

Yeah, already did it 👌 BTW. can you confirm that the extended version works for you?

@mathieu-benoit
Copy link
Author

mathieu-benoit commented Oct 29, 2022

Thanks and will do, I'm in the middle of debugging this in my Dockerfile. I'm able to download the associated extended binary, but now hugo bin is not findable... anyway, debugging this and will report back here.

@mathieu-benoit
Copy link
Author

So apparently there are some other dependencies to install with alpine, which is my case: https://discourse.gohugo.io/t/solved-bin-sh-hugo-not-found-in-docker-container/12983. I will need to figure this out later, JFYI.

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

No branches or pull requests

2 participants