Closed lily-champagne closed 3 years ago
Hi Lily
The easiest way is to copy the package.json
file from the theme folder to the hugo project root folder and then run npm install
(make sure you have node js installed before running this command)
Once this is done, hugo serve
would work. This step is a one-time process.
Closing due to inactivity
Hey, a better way is to install postcss-cli
globally.
So in your readme add the following command
npm install -g postcss-cli
I am trying to build the site and I keep getting this error message:
Error: Error building site: POSTCSS: failed to transform "css/styles.css" (text/css). Check your PostCSS installation; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/
I read hugos documentation on hugo pipes but I don't understand how to install it or what to do with it in regards to this theme.