0.20220302165412-259c65c8d5b8/content/site/en/showcase/letsencrypt/index.md:12:1"
Error: Error building site: POSTCSS: failed to transform "css/styles.css" (text/css): SyntaxError: Unexpected token (90:0)
at _class.pp$4.raise (/Users/bep/dev/go/gohugoio/gohugoioTheme2/node_modules/acorn/dist/acorn.js:2927:15)
at _class.pp.unexpected (/Users/bep/dev/go/gohugoio/gohugoioTheme2/node_modules/acorn/dist/acorn.js:698:10)
at _class.pp$3.parseIdent (/Users/bep/dev/go/gohugoio/gohugoioTheme2/node_modules/acorn/dist/acorn.js:2878:12)
at _class.parseIdent (/Users/bep/dev/go/gohugoio/gohugoioTheme2/node_modules/acorn-node/lib/class-fields/index.js:63:47)
at _class.parseIdent (/Users/bep/dev/go/gohugoio/gohugoioTheme2/node_modules/acorn-node/lib/static-class-features/index.js:132:55)
at _class.pp$3.parsePropertyName (/Users/bep/dev/go/gohugoio/gohugoioTheme2/node_modules/acorn/dist/acorn.js:2686:107)
at _class.pp$3.parseProperty (/Users/bep/dev/go/gohugoio/gohugoioTheme2/node_modules/acorn/dist/acorn.js:2613:10)
at _class.pp$3.parseObj (/Users/bep/dev/go/gohugoio/gohugoioTheme2/node_modules/acorn/dist/acorn.js:2567:23)
at _class.pp$3.parseExprAtom (/Users/bep/dev/go/gohugoio/gohugoioTheme2/node_modules/acorn/dist/acorn.js:2302:19)
at _class.parseExprAtom (/Users/bep/dev/go/gohugoio/gohugoioTheme2/node_modules/acorn-node/lib/dynamic-import/index.js:77:117) {
pos: 1946,
loc: Position { line: 90, column: 0 },
raisedAt: 1948
}
I had the above error thrown at me in a Tailwind project. To cut a long story short, the cause of it was a syntax error in tailwind.config.js
. Would you have guessed?