Hi all, I just tried to build the site with 0.47’s new hugo --minify.
Unfortunately it failed both locally and on Netlify, mentioning a parse error:3:5: unexpected ending in qualified rule, expected left brace token 3: <
that I’ve never seen or heard of before.
Google isn’t helpful on that one either.
Please note that using the regular build command hugo
the site builds just fine.
Here’s the output of hugo env:
Hugo Static Site Generator v0.47 windows/amd64 BuildDate: 2018-08-17T09:15:51Z
GOOS="windows"
GOARCH="amd64"
GOVERSION="go1.10.3"
Here’s the verbose log of the error:
C:\Hugo\Sites\process4.biz>hugo --minify -v
INFO 2018/08/17 13:33:33 Using config file: C:\Hugo\Sites\process4.biz\config.toml
Building sites … INFO 2018/08/17 13:33:33 syncing static files to C:\Hugo\Sites\process4.biz\public\
INFO 2018/08/17 13:33:33 found taxonomies: map[string]string{"tag":"tags", "category":"categories"}
INFO 2018/08/17 13:33:33 found taxonomies: map[string]string{"tag":"tags", "category":"categories"}
INFO 2018/08/17 13:33:33 Alias "de" translated to "de\index.html"
INFO 2018/08/17 13:33:33 Alias "\post\page\1\index.html" translated to "post\page\1\index.html"
INFO 2018/08/17 13:33:33 Alias "\categories\page\1\index.html" translated to "categories\page\1\index.html"
INFO 2018/08/17 13:33:33 Alias "\tags\content\page\1\index.html" translated to "tags\content\page\1\index.html"
INFO 2018/08/17 13:33:33 Alias "\categories\development\page\1\index.html" translated to "categories\development\page\1\index.html"
INFO 2018/08/17 13:33:33 Alias "\tags\dsgvo\page\1\index.html" translated to "tags\dsgvo\page\1\index.html"
INFO 2018/08/17 13:33:34 Alias "\tags\p4b\page\1\index.html" translated to "tags\p4b\page\1\index.html"
INFO 2018/08/17 13:33:34 Alias "\tags\page\1\index.html" translated to "tags\page\1\index.html"
INFO 2018/08/17 13:33:34 Alias "\categories\use-case\page\1\index.html" translated to "categories\use-case\page\1\index.html"
INFO 2018/08/17 13:33:34 Alias "\tags\website\page\1\index.html" translated to "tags\website\page\1\index.html"
INFO 2018/08/17 13:33:34 Alias "\categories\website\page\1\index.html" translated to "categories\website\page\1\index.html"
Total in 1086 ms
Error: Error building site: Error(s) rendering pages: parse error:3:5: unexpected ending in qualified rule, expected left brace token
3: <
^
I would be thankful for any pointers as to where to look for the cause of the issue.