apache / dubbo-website

Apache Dubbo documents
https://dubbo.apache.org/
Apache License 2.0
470 stars 791 forks source link

[Bug]无法启动项目 #3020

Open LofiSu opened 1 month ago

LofiSu commented 1 month ago

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 commented 1 month ago

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