Skip to content

Docsy initial build fails when creating new site #1075

@mikeBoterf

Description

@mikeBoterf

Build error

[my-linux-machine]$ hugo -v
Start building sites … 
hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66+extended linux/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio
INFO 2022/06/24 19:57:32 syncing static files to /
INFO 2022/06/24 19:57:32 postcss: use config file /tmp/hugo_cache/modules/filecache/modules/pkg/mod/github.com/google/docsy@v0.3.0/postcss.config.js
INFO 2022/06/24 19:57:32 postcss: Unexpected identifier
Error: Error building site: POSTCSS: failed to transform "scss/main.css" (text/css): Unexpected identifier
Total in 312 ms

Versions

Hugo

hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66+extended linux/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio

Golang

go version go1.17.7 linux/amd64

I'm not even sure where to look for the source of the issue. I am also following the docs on how to start from scratch. I don't think this is an npm package issue as I have the required modules installed globally. The issue for the missing npm which produces a similar issue was observed by myself, but I resolved that issue by installing what was missing. This site will execute under hugo server. Should I start pulling things from the example site until it works?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions