How to run theme on AWS Amplify #421
-
Hello, I am running into an error when trying to deploy a re-learn theme based website in AWS amplify.
Any idea what might be causing this issue? File
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I can not reproduce this. Please retry to build the project in a local directory. If the error still occurs, please give version information about your Hugo executable, the theme's version or even better a link to your repo. If it works in a local directory, it has something to do with your environment. Probably an issue with your used Hugo version. As set in the theme's Quick googling: Probably this |
Beta Was this translation helpful? Give feedback.
-
You are right.
As a next step, I will reach out to AWS support in order to understand what HUGO version AWS Amplify is running. |
Beta Was this translation helpful? Give feedback.
-
I was able to resolve the issue by overwriting the default build settings of AWS Amplify. A description on how to do this is given here: Some private blog posts indicate that Amplify is running on HUGO version 0.75.1 by default. I cannot confirm this information, but it would explain the error message I am seeing. |
Beta Was this translation helpful? Give feedback.
I was able to resolve the issue by overwriting the default build settings of AWS Amplify.
A description on how to do this is given here:
https://gohugo.io/hosting-and-deployment/hosting-on-aws-amplify/
Some private blog posts indicate that Amplify is running on HUGO version 0.75.1 by default. I cannot confirm this information, but it would explain the error message I am seeing.
https://seanrmurphy.medium.com/deploying-and-managing-a-modern-hugo-site-on-aws-amplify-f771f6440b43