npm test fails with hugo v0.111.3+extended
esmiralha opened this issue · 5 comments
esmiralha commented
I get the following error message:
failed to extract shortcode: shortcode "children" must be closed or self-closed
bdfinst commented
I'll take a look.
seanpoulter commented
I've got a fix for that locally if you haven't already solved it @bdfinst. The latest version of Hugo appears to be stricter with the linting.
bdfinst commented
Yeah, I won't get to take a look until later. If you have a fix, I'd welcome the PR.
esmiralha commented
fixed the issue title.
seanpoulter commented
Here's an example of the similar output from npm run build
:
$ npm run build
> minimumcd@1.0.0 build
> hugo
Start building sites …
hugo v0.111.3+extended darwin/amd64 BuildDate=unknown
Error: Error building site: "/Users/spoulter/Development/GitHub/seanpoulter/cd-manifesto/content/Practices/_index.md:7:1": failed to extract shortcode: shortcode "children" must be closed or self-closed
Total in 29 ms
PR is up.