tektoncd / website

Tekton Website
https://tekton.dev
Apache License 2.0
63 stars 152 forks source link

Got error when executing Hugo server #3

Closed LinuxSuRen closed 5 years ago

LinuxSuRen commented 5 years ago

Output is here:

Building sites … WARN 2019/04/14 18:34:32 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
ERROR 2019/04/14 18:34:32 error: failed to transform resource: SCSS processing failed: file "stdin", line 11, col 1: File to import not found or unreadable: bulma/sass/utilities/initial-variables.
Total in 8 ms
Error: Error building site: logged 1 error(s)

Hugo Static Site Generator v0.55.0/extended darwin/amd64 BuildDate: unknown

OS: Mac OS version 10.13.6

xomiamoore commented 5 years ago

I got the same error message but resolved it when I ran yarn install, it populated the node_modules directory. Looks like that's a dependency. Added an incredibly basic ReadMe update here to let others know - https://github.com/tektoncd/website/pull/4

LinuxSuRen commented 5 years ago

It' work now. Thanks, @xomiamoore.

bobcatfish commented 5 years ago

🎉 thanks @xomiamoore and @LinuxSuRen !!

LinuxSuRen commented 4 years ago

I got erros:

Building sites … ERROR 2020/04/03 18:59:35 render of "section" failed: execute of template failed: template: docs/list.html:8:9: executing "docs/list.html" at <partial "navbar-docs.html" .>: error calling partial: "/Users/rick/Workspace/GitHub/tektoncd/website/layouts/partials/navbar-docs.html:2:38": execute of template failed: template: partials/navbar-docs.html:9:15: executing "partials/navbar-docs.html" at <partial "navbar-version-selector-docs.html" .>: error calling partial: "/Users/rick/Workspace/GitHub/tektoncd/website/layouts/partials/navbar-version-selector-docs.html:2:38": execute of template failed: template: partials/navbar-version-selector-docs.html:2:38: executing "partials/navbar-version-selector-docs.html" at <fingerprint>: error calling fingerprint: <nil> can not be transformed
ERROR 2020/04/03 18:59:35 render of "section" failed: execute of template failed: template: docs/list.html:8:9: executing "docs/list.html" at <partial "navbar-docs.html" .>: error calling partial: "/Users/rick/Workspace/GitHub/tektoncd/website/layouts/partials/navbar-docs.html:2:38": execute of template failed: template: partials/navbar-docs.html:9:15: executing "partials/navbar-docs.html" at <partial "navbar-version-selector-docs.html" .>: error calling partial: "/Users/rick/Workspace/GitHub/tektoncd/website/layouts/partials/navbar-version-selector-docs.html:2:38": execute of template failed: template: partials/navbar-version-selector-docs.html:2:38: executing "partials/navbar-version-selector-docs.html" at <fingerprint>: error calling fingerprint: <nil> can not be transformed
ERROR 2020/04/03 18:59:35 render of "section" failed: execute of template failed: template: docs/list.html:8:9: executing "docs/list.html" at <partial "navbar-docs.html" .>: error calling partial: "/Users/rick/Workspace/GitHub/tektoncd/website/layouts/partials/navbar-docs.html:2:38": execute of template failed: template: partials/navbar-docs.html:9:15: executing "partials/navbar-docs.html" at <partial "navbar-version-selector-docs.html" .>: error calling partial: "/Users/rick/Workspace/GitHub/tektoncd/website/layouts/partials/navbar-version-selector-docs.html:2:38": execute of template failed: template: partials/navbar-version-selector-docs.html:2:38: executing "partials/navbar-version-selector-docs.html" at <fingerprint>: error calling fingerprint: <nil> can not be transformed
ERROR 2020/04/03 18:59:35 render of "section" failed: execute of template failed: template: docs/list.html:8:9: executing "docs/list.html" at <partial "navbar-docs.html" .>: error calling partial: "/Users/rick/Workspace/GitHub/tektoncd/website/layouts/partials/navbar-docs.html:2:38": execute of template failed: template: partials/navbar-docs.html:9:15: executing "partials/navbar-docs.html" at <partial "navbar-version-selector-docs.html" .>: error calling partial: "/Users/rick/Workspace/GitHub/tektoncd/website/layouts/partials/navbar-version-selector-docs.html:2:38": execute of template failed: template: partials/navbar-version-selector-docs.html:2:38: executing "partials/navbar-version-selector-docs.html" at <fingerprint>: error calling fingerprint: <nil> can not be transformed
Total in 2203 ms
Error: Error building site: failed to render pages: render of "section" failed: execute of template failed: template: docs/list.html:8:9: executing "docs/list.html" at <partial "navbar-docs.html" .>: error calling partial: "/Users/rick/Workspace/GitHub/tektoncd/website/layouts/partials/navbar-docs.html:2:38": execute of template failed: template: partials/navbar-docs.html:9:15: executing "partials/navbar-docs.html" at <partial "navbar-version-selector-docs.html" .>: error calling partial: "/Users/rick/Workspace/GitHub/tektoncd/website/layouts/partials/navbar-version-selector-docs.html:2:38": execute of template failed: template: partials/navbar-version-selector-docs.html:2:38: executing "partials/navbar-version-selector-docs.html" at <fingerprint>: error calling fingerprint: <nil> can not be transformed