hugo-theme-diary icon indicating copy to clipboard operation
hugo-theme-diary copied to clipboard

can't deploy site with vercel.

Open istek opened this issue 8 months ago • 0 comments

Describe the bug build log: [13:07:56.811] Running build in Washington, D.C., USA (East) – iad1 [13:07:57.246] Cloning github.com/istek/istekcc (Branch: master, Commit: ae42964) [13:07:57.259] Skipping build cache, deployment was triggered without cache. [13:07:59.462] Cloning completed: 2.215s [13:08:00.201] Running "vercel build" [13:08:01.067] Vercel CLI 34.2.5 [13:08:02.364] Installing Hugo version 0.127.0 [13:08:03.572] Start building sites … [13:08:03.573] hugo v0.127.0-74e0f3bd63c51f3c7a0f07a7c779eec9e922957e+extended linux/amd64 BuildDate=2024-06-05T10:27:59Z VendorInfo=gohugoio [13:08:03.573] [13:08:03.677] 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. [13:08:04.945] ERROR render of "page" failed: "/vercel/path0/themes/diary/layouts/_default/baseof.html:15:16": execute of template failed: template: _default/single.html:15:16: executing "_default/single.html" at <partial "extrabar.html" .>: error calling partial: "/vercel/path0/themes/diary/layouts/partials/extrabar.html:28:19": execute of template failed: template: partials/extrabar.html:28:19: executing "partials/extrabar.html" at <.Paginator>: error calling Paginator: pagination not supported for this page: kind: "page", path: "/about", file: "/vercel/path0/content/about.md" [13:08:04.945] ERROR render of "page" failed: "/vercel/path0/themes/diary/layouts/_default/single.html:37:98": execute of template failed: template: _default/single.html:37:98: executing "main" at : error calling urlize: unable to cast []string{"Windows"} of type []string to string [13:08:04.945] ERROR render of "page" failed: "/vercel/path0/themes/diary/layouts/_default/single.html:37:98": execute of template failed: template: _default/single.html:37:98: executing "main" at : error calling urlize: unable to cast []string{"随笔"} of type []string to string [13:08:04.945] ERROR render of "page" failed: "/vercel/path0/themes/diary/layouts/_default/single.html:37:98": execute of template failed: template: _default/single.html:37:98: executing "main" at : error calling urlize: unable to cast []string{"MV"} of type []string to string [13:08:04.946] Total in 1374 ms [13:08:04.946] Error: error building site: render: failed to render pages: render of "page" failed: "/vercel/path0/themes/diary/layouts/_default/baseof.html:15:16": execute of template failed: template: _default/single.html:15:16: executing "_default/single.html" at <partial "extrabar.html" .>: error calling partial: "/vercel/path0/themes/diary/layouts/partials/extrabar.html:28:19": execute of template failed: template: partials/extrabar.html:28:19: executing "partials/extrabar.html" at <.Paginator>: error calling Paginator: pagination not supported for this page: kind: "page", path: "/archives", file: "/vercel/path0/content/archives.md" [13:08:04.958] Error: Command "hugo --gc" exited with 1 [13:08:05.193]

To Reproduce hugo v0.127.0

Expected behavior successfully deploy

Screenshots

Environment Hugo v 0.127.0 firefox v126.0.1

Additional context

istek avatar Jun 07 '24 05:06 istek