Skip to content

Commit

Permalink
Update error advice
Browse files Browse the repository at this point in the history
Close #210
  • Loading branch information
victoriadrake committed Jun 21, 2020
1 parent 2e1445d commit 75da626
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Developer-friendly:

To make changes to the theme CSS, extended Hugo's [PostCSS](https://gohugo.io/hugo-pipes/postcss/) requires JavaScript packages to compile the styles. You can install them using `npm`:

- [postcss-cli](https://github.com/postcss/postcss-cli):`npm install -g postcss-cli`
- [postcss-cli](https://github.com/postcss/postcss-cli): `npm install -g postcss-cli`
- [autoprefixer](https://github.com/postcss/autoprefixer): `npm install -g autoprefixer`

[Learn how to install and use npm here](https://www.npmjs.com/get-npm).
Expand All @@ -42,6 +42,14 @@ npm install postcss-cli
npm install autoprefixer
```

If you see an error message like:

```text
Error: Error building site: POSTCSS: failed to transform "css/main.css" (text/css): resource "sass/sass/style..." not found in file cache
```

You may need to install these dependencies globally. See [issue #210](https://github.com/victoriadrake/hugo-theme-introduction/issues/210#issuecomment-645661326) for more information.

## Get the theme

Run from the root of your Hugo site:
Expand Down

0 comments on commit 75da626

Please sign in to comment.