skaffold
skaffold copied to clipboard
make build-docs-preview-v2 fails
trafficstars
Tried to build make build-docs-preview-v2(as well as 1 version) for this changes https://github.com/GoogleContainerTools/skaffold/pull/9465 and it turned out the build doesn't work because of old version nodejs.
Expected behavior
build docs preview v2
Actual behavior
fails with error:
Re-run Hugo with the flag --panicOnWarning to get a better error message.
Error: Error building site: POSTCSS: failed to transform "scss/main.css" (text/css): file:///usr/local/lib/node_modules/postcss-cli/node_modules/globby/index.js:27
const extensionGlob = extensions?.length > 0 ? `.${extensions.length > 1 ? `{${extensions.join(',')}}` : extensions[0]}` : '';
^
SyntaxError: Unexpected token '.'
at Loader.modul
Steps to reproduce the behavior
execute the command on main branch