This document is outdated and there is currently no such error.
Background
When building my blog using hugo , executing:
hugo
There are error message following bellow:
expected comma character or an array or object ending on line 84 and column 40
Solution
To resolve this issue, modify the configuration file hugo.toml, changing minifyOutput = true to minifyOutput = false. I think this is a bug.