The recurring error for each theme it tries to process:
==== PROCESSING .github ======
cp: cannot stat ‘/c/Hugo/Sites/hugoThemes/.github/images/screenshot.png’: No such file or directory
cp: cannot stat ‘/c/Hugo/Sites/hugoThemes/.github/images/tn.png’: No such file or directory
./generateThemeSite.sh: line 209: /tmpconfig-.github.toml: Permission denied
./generateThemeSite.sh: line 210: /tmpconfig-.github.toml: Permission denied
Building site for theme .github using config “/tmpconfig-.github.toml” to …/themeSite/static/theme/.github/
Error: Unable to locate Config file. Perhaps you need to create a new site.
Run hugo help new for details.
FAILED to create demo site for .github
cat: /c/Hugo/Sites/hugoThemes/.github/theme.toml: No such file or directory
cat: /c/Hugo/Sites/hugoThemes/.github/readme.md: No such file or directory
I’m on Windows 7 (32-bit) and use Git Bash. Here’s the output of hugo env:
Hugo Static Site Generator v0.48 windows/386 BuildDate: 2018-08-29T06:35:12Z
GOOS="windows"
GOARCH="386"
GOVERSION="go1.11"
That said – that script wasn’t, as you’ve experienced, not written for “genera consumption”: The most important part about a theme is that it can build the demo site with a baseURL set to a sub folder.