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

Hugo server build failed #4

Open
zephyr06 opened this issue Mar 4, 2024 · 0 comments
Open

Hugo server build failed #4

zephyr06 opened this issue Mar 4, 2024 · 0 comments

Comments

@zephyr06
Copy link

zephyr06 commented Mar 4, 2024

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!

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

1 participant