michaelpb / michaelpb/pta

Site not building

Open
#151 0 comments 0 reactions 2 assignees View on GitHub

@elliotcobb is already working on this.

Since Mar 21, 2022.

Dominant language
HTML
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Recent build log overview on netlify

![Screenshot from 2022-03-21 13-20-48](https://user-images.githubusercontent.com/181549/159357289-712835c8-1d16-4248-868e-0099fc61820d.png)

Excerpt of log from netlify

```

4:29:46 PM: ────────────────────────────────────────────────────────────────
4:29:46 PM: 1. build.command from netlify.toml
4:29:46 PM: ────────────────────────────────────────────────────────────────
4:29:46 PM: ​
4:29:47 PM: Failed during stage 'building site': Build script returned non-zero exit code: 2 (https://ntl.fyi/exit-code-2)
4:29:46 PM: $ hugo --gc --minify
4:29:46 PM: Total in 16 ms
4:29:46 PM: Error: add site dependencies: load resources: loading templates: "/opt/build/repo/layouts/partials/site-footer.html:6:1": parse failed: template: partials/site-footer.html:6: unclosed action
4:29:46 PM: ​
4:29:46 PM: ────────────────────────────────────────────────────────────────
4:29:46 PM: "build.command" failed
4:29:46 PM: ────────────────────────────────────────────────────────────────
4:29:46 PM: ​
4:29:46 PM: Error message
4:29:46 PM: Command failed with exit code 255: hugo --gc --minify (https://ntl.fyi/exit-code-255)
4:29:46 PM: ​
4:29:46 PM: Error location
4:29:46 PM: In build.command from netlify.toml:
4:29:46 PM: hugo --gc --minify
4:29:46 PM: ​
4:29:46 PM: Resolved config

```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.