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

[Bug]无法启动项目 #3020

Open
LofiSu opened this issue Aug 11, 2024 · 1 comment
Open

[Bug]无法启动项目 #3020

LofiSu opened this issue Aug 11, 2024 · 1 comment

Comments

@LofiSu
Copy link

LofiSu commented Aug 11, 2024

hugo mod clean
ERROR deprecated: config: languages.en.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.132.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.zh-cn.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.132.0. Put the value below [languages.zh-cn.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
hugo: downloading modules …
hugo: collected modules in 3547 ms
hugo: removed 34 dirs in module cache for "github.com/FortAwesome/Font-Awesome"
hugo: removed 57 dirs in module cache for "github.com/google/docsy"
hugo: removed 5 dirs in module cache for "github.com/google/docsy/dependencies"
hugo: removed 70 dirs in module cache for "github.com/twbs/bootstrap"
PS E:\开源项目\阿里天池赛\dubbo-website> hugo server --disableFastRender

ERROR deprecated: config: languages.en.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.132.0. Put the value below [languages.en.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
ERROR deprecated: config: languages.zh-cn.description: custom params on the language top level was deprecated in Hugo v0.112.0 and will be removed in Hugo 0.132.0. Put the value below [languages.zh-cn.params]. See https://gohugo.io/content-management/multilingual/#changes-in-hugo-01120
hugo: downloading modules …
hugo: collected modules in 3367 ms
Watching for changes in E:\开源项目\阿里天池赛\dubbo-website{archetypes,assets,content,data,i18n,layouts,package.json,static}
Watching for config changes in E:\开源项目\阿里天池赛\dubbo-website\config.toml, E:\开源项目\阿里天池赛\dubbo-website\go.mod
Start building sites …
hugo v0.131.0-bfbee17932ff24009008aa94cdd75c0c41f59279+extended windows/amd64 BuildDate=2024-08-02T09:03:48Z VendorInfo=gohugoio

WARN deprecated: .Site.IsServer was deprecated in Hugo v0.120.0 and will be removed in a future release. Use hugo.IsServer instead.
WARN deprecated: .Site.GoogleAnalytics was deprecated in Hugo v0.120.0 and will be removed in a future release. Use .Site.Config.Services.GoogleAnalytics.ID instead.
WARN deprecated: .Site.DisqusShortname was deprecated in Hugo v0.120.0 and will be removed in a future release. Use .Site.Config.Services.Disqus.Shortname instead.
ERROR render of "section" failed: "C:\Users\空生酥\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\github.com\google\docsy@v0.6.0\layouts\docs\list.html:12:11": execute of template failed: template: docs/list.html:12:11: executing "main" at <partial "section-index.html" .>: error calling partial: "C:\Users\空生酥\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\github.com\google\docsy@v0.6.0\layouts\partials\section-index.html:7:17": execute of template failed: template: partials/section-index.html:7:17: executing "partials/section-index.html" at <where $pages "Parent.File.UniqueID" "==" $parent.File.UniqueID>: error calling where: runtime error: invalid memory address or nil pointer dereference
Built in 6767 ms
Error: error building site: render: failed to render pages: render of "section" failed: "C:\Users\空生酥\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\github.com\google\docsy@v0.6.0\layouts\docs\list.html:12:11": execute of template failed: template: docs/list.html:12:11: executing "main" – File is nil; wrap it in if or with: {{ with partial "section-index.html" .>: error calling partial: "C:\Users\空生酥\AppData\Local\hugo_cache\modules\filecache\modules\pkg\mod\github.com\google\docsy@v0.6.0\layouts\partials\section-index.html:7:17": execute of template failed: template: partials/section-index.html:7:17: executing "partials/section-index.html" at <where "Parent.File.UniqueID" "==" .File }}{{ .where }}{{ end }}

@AlbumenJ
Copy link
Member

Currently dubbo-website cannot compile with the latest hugo. Please try use 0.120.0

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