Skip to content

aways build error #1

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

Closed
ghost opened this issue Jun 6, 2019 · 1 comment
Closed

aways build error #1

ghost opened this issue Jun 6, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 6, 2019

Building sites … ERROR 2019/06/06 16:47:03 error: failed to transform resource: POSTCSS: failed to transform "css/styles.css" (text/css): PostCSS not found; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/

I have used npm install in theme folder.

@dirkolbrich
Copy link
Owner

You have to install postcss-cli globally, as mentioned in the docs.

Hugo Pipe’s PostCSS requires the postcss-cli JavaScript package to be installed in the environment (npm install -g postcss-cli) along with any PostCSS plugin(s) used (e.g., npm install -g autoprefixer).

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

No branches or pull requests

1 participant