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

Error Building site #191

Open
2 tasks done
mrfoxie opened this issue Sep 11, 2024 · 5 comments · May be fixed by #194
Open
2 tasks done

Error Building site #191

mrfoxie opened this issue Sep 11, 2024 · 5 comments · May be fixed by #194

Comments

@mrfoxie
Copy link

mrfoxie commented Sep 11, 2024

Past Issues Searched

  • I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

  • This is a bug report and not a feature request, nor asking for support

Describe the bug

  • OS = Win11/amd64
  • Hugo version = hugo v0.134.1-2f89169baa87a9db47e288b60705f4e99e21a945+extended windows/amd64 BuildDate=2024-09-05T10:17:50Z VendorInfo=gohugoio
  • Go version = go version go1.23.1 windows/amd64
    After installation i followed README
    but when it came to preview it failed. i searched for the pas issue and i went through it #161 but still the same issue

Expected behavior

hugo server -D
Watching for changes in C:\industry\{archetypes,assets,content,data,i18n,layouts,static,themes}
Watching for config changes in C:\industry\hugo.toml, C:\industry\themes\lotusdocs\config.toml, C:\industry\go.mod
Start building sites …
hugo v0.134.1-2f89169baa87a9db47e288b60705f4e99e21a945+extended windows/amd64 BuildDate=2024-09-05T10:17:50Z VendorInfo=gohugoio

WARN  calling IsSet with unsupported type "invalid" (<nil>) will always return false.
WARN  deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead.
WARN  deprecated: .Site.Social was deprecated in Hugo v0.124.0 and will be removed in a future release. Use .Site.Params instead.
ERROR deprecated: .Site.IsServer was deprecated in Hugo v0.120.0 and will be removed in Hugo 0.135.0. Use hugo.IsServer instead.
WARN  deprecated: .Site.IsMultiLingual was deprecated in Hugo v0.124.0 and will be removed in a future release. Use hugo.IsMultilingual instead.
Built in 505 ms
Error: error building site: logged 1 error(s)

Screenshots

No response

Environment

- OS: Win11/amd64
- Browser:
- Browser Version:
@prologic
Copy link

Same here.

@thesteve0
Copy link

I believe this project is abandoned - there are quite a few open pull requests from last year. The last github activity was in March 2023

@thesteve0
Copy link

This project seems pretty similar (though not quite as nice) but it is actively maintained
https://github.com/imfing/hextra

@kkvero
Copy link

kkvero commented Oct 15, 2024

Had the same issue. For me it worked to use an older version of Hugo for this theme.
On Linux (Ubuntu):

  • Download hugo binary from Github releases repository (I used hugo_extended_0.121.2_Linux-64bit.tar.gz ).
  • Unzip, rename the executable from hugo to e.g. hugo1212.
  • Copy or move that executable to /usr/local/bin (Check if /usr/local/bin is in your path by running echo $PATH, but it most likely is.)
    ~/Downloads/hugo_extended_0.121.2_Linux-64bit$ sudo cp -i hugo1212 /usr/local/bin/hugo1212
  • That's it, set up your Hugo project as usual and use instead of hugo server -> hugo1212 server.
    Tested, worked, at least for the first build of the project.
    (This way can use different hugo versions for different projects.)

@deining deining linked a pull request Nov 17, 2024 that will close this issue
2 tasks
@shipengqi
Copy link

Had the same issue

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

Successfully merging a pull request may close this issue.

5 participants