Hugo server build failed
Recently, I noticed that I cannot build the website anymore. Whenever I tried to use "hugo server", I will receive the following error messages:
WARN Module "github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5" is not compatible with this Hugo version; run "hugo mod graph" for more information. Watching for changes in /workspaces/simongravelle.github.io/{assets,content,data,layouts,static,themes} Watching for config changes in /workspaces/simongravelle.github.io/hugo.toml, /workspaces/simongravelle.github.io/config/_default, /workspaces/simongravelle.github.io/themes/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms/config.yaml, /workspaces/simongravelle.github.io/themes/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify/config.yaml, /workspaces/simongravelle.github.io/themes/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5/config.yaml Start building sites … hugo v0.122.0-b9a03bd59d5f71a529acb3e33f995e0ef332b3aa linux/amd64 BuildDate=2024-01-26T15:54:24Z VendorInfo=gohugoio
ERROR render of "page" failed: "/workspaces/simongravelle.github.io/themes/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5/layouts/_default/baseof.html:5:3": execute of template failed: template: _default/single.html:5:3: executing "_default/single.html" at <partial "site_head" .>: error calling partial: "/workspaces/simongravelle.github.io/themes/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5/layouts/partials/site_head.html:183:56": execute of template failed: template: partials/site_head.html:183:56: executing "partials/site_head.html" at <resources.Concat>: error calling Concat: resources in Concat must be of the same Media Type, got "text/x-scss" and "text/css" ERROR TOCSS: failed to transform "main_parsed.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 229 ms Error: error building site: render: failed to render pages: render of "page" failed: "/workspaces/simongravelle.github.io/themes/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5/layouts/_default/baseof.html:5:3": execute of template failed: template: event/single.html:5:3: executing "event/single.html" at <partial "site_head" .>: error calling partial: "/workspaces/simongravelle.github.io/themes/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5/layouts/partials/site_head.html:183:56": execute of template failed: template: partials/site_head.html:183:56: executing "partials/site_head.html" at <resources.Concat>: error calling Concat: resources in Concat must be of the same Media Type, got "text/x-scss" and "text/css"
It seems to be some version issues, but I don't know how to resolve it. You can re-produce the error by creating a code-space with github. Could you help with this issue? Thanks!
The same error was reported in issue-2508534712 in the example of bootstrap-bp-hugo-theme.
I am able to use hugo server on my local machine where I use Hugo v0.140 with the modification of #6. I don't know if it fixes the issue that you are having.