Hugo

Cannot find module 'autoprefixer'

Hello guys,

I’m new here and I’m trying to make my 1st website with Hugo.
So, I’ve finished all the basical steps, now I tried to deploy my website to Github Pages.

I tried to create the Public file with hugo command in cmd but it won’t work and cmd told me this:
2020-01-14 00_29_20-Window

Can you please explain to me what is this? and what I have to do next in order to deploy my website.

Thanks.

Are you using PostCSS on your site?

Here is an example from:

So I would try:

cd c:\hugo\mynh
npm install autoprefixer

oh yes, thank you so much. It works!

1 Like