Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictoria Drake <hello@victoria.dev>2020-06-21 20:53:54 +0300
committerVictoria Drake <hello@victoria.dev>2020-06-21 20:53:54 +0300
commit75da626aae0477072f0da3dd7278fec6f9b45936 (patch)
tree697cc0dab5172c21ef52fc63162a5d813dd146c9 /README.md
parent2e1445d651990f822b0a32a34a5e2168d253fdd7 (diff)
Update error advice
Close #210
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 855710a..27e73b2 100644
--- a/README.md
+++ b/README.md
@@ -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).
@@ -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: