Unable to build my hugo academic page

Hi,

I am migrating my homepage from github (git-page maintained in action) to cloudfare but failed to build it properly. The repo is public at https://github.com/Angryrou/chenghao

Would you help me figure it out?

What does it say in the logs? It should say why it failed.

Thanks for the timely reply. The log shows:

2023-04-23T19:59:46.806764Z	Cloning repository...
2023-04-23T19:59:48.477008Z	From https://github.com/Angryrou/chenghao
2023-04-23T19:59:48.477656Z	 * branch            4f38dbbb90a0e8b95621501843208e2d4eab4e0d -> FETCH_HEAD
2023-04-23T19:59:48.477862Z	
2023-04-23T19:59:48.713991Z	HEAD is now at 4f38dbb update
2023-04-23T19:59:48.714603Z	
2023-04-23T19:59:48.824376Z	
2023-04-23T19:59:48.854112Z	Success: Finished cloning repository files
2023-04-23T19:59:49.478138Z	Installing dependencies
2023-04-23T19:59:49.486558Z	Python version set to 2.7
2023-04-23T19:59:52.876142Z	v12.18.0 is already installed.
2023-04-23T19:59:54.097894Z	Now using node v12.18.0 (npm v6.14.4)
2023-04-23T19:59:54.296455Z	Started restoring cached build plugins
2023-04-23T19:59:54.311372Z	Finished restoring cached build plugins
2023-04-23T19:59:54.738312Z	Attempting ruby version 2.7.1, read from environment
2023-04-23T19:59:56.304374Z	Using /opt/buildhome/.rvm/gems/ruby-2.7.1
2023-04-23T19:59:57.315947Z	Using PHP version 5.6
2023-04-23T19:59:57.410457Z	5.2.5 is already installed.
2023-04-23T19:59:57.428464Z	Using Swift version 5.2.5
2023-04-23T19:59:57.428805Z	Installing Hugo 0.54.0
2023-04-23T19:59:58.099528Z	Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2023-04-23T19:59:58.10245Z	Started restoring cached go cache
2023-04-23T19:59:58.116984Z	Finished restoring cached go cache
2023-04-23T19:59:58.202683Z	go version go1.14.4 linux/amd64
2023-04-23T19:59:58.216364Z	go version go1.14.4 linux/amd64
2023-04-23T19:59:58.220304Z	Installing missing commands
2023-04-23T19:59:58.221869Z	Verify run directory
2023-04-23T19:59:58.222096Z	Executing user command: hugo
2023-04-23T19:59:58.248492Z	Error: Failed to resolve output format "WebAppManifest" from site config
2023-04-23T19:59:58.256732Z	Failed: build command exited with code: 255
2023-04-23T19:59:59.054757Z	Failed: error occurred while running build command

Installing Hugo 0.54.0
Error: Failed to resolve output format “WebAppManifest” from site config

Can you try bumping the Hugo version by setting HUGO_VERSION as an env var in Pages, to something like 0.91.2 - that appears to be the version this project uses:

works like a charm! Thanks so much

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.