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

make build-docs-preview-v2 fails #9466

Closed
idsulik opened this issue Jul 8, 2024 · 0 comments · Fixed by #9467
Closed

make build-docs-preview-v2 fails #9466

idsulik opened this issue Jul 8, 2024 · 0 comments · Fixed by #9467

Comments

@idsulik
Copy link
Contributor

idsulik commented Jul 8, 2024

Tried to build make build-docs-preview-v2(as well as 1 version) for this changes #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

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

Successfully merging a pull request may close this issue.

1 participant