Hugo deployment failed

Error: Error building site: POSTCSS: failed to transform “scss/main.css” (text/css). Check your PostCSS installation; install with “npm install postcss-cli”. See this feature is not available in your current Hugo version, see Frequently Asked Questions | Hugo for more information

hey guys, can anyone help me?
I built hugo locally and saved it on github.
Hugo’s theme uses postcss. This component needs to be installed using cli commands. What should I do?
I don’t know how to put the command’npm install postcss-cli’ into the environment variable?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.