cannot build or serve blog following quickstart instructions
Denyreal opened this issue · comments
Describe the problem:
Hi there. Hope you're doing well. This blog looks amazing thanks to its auhtor and contributos. i wanted to give it a try but i got issues.
Steps to reproduce:
- git clone https://github.com/luizdepra/hugo-coder.git
- cd hugo-coder
- make demo
Observed Results:
- What happened?
I got an error when :
- What did you expect to happen?
hugo serve the blog then i can tweak my config.toml settings.
Relevant code exceptions or logs
Note: Please copy/paste text of the messages, no screenshots of logs please.
cd blog.example
hugo server --buildDrafts
// hugo server -D --themesDir=../.. --source=exampleSite --bind 0.0.0.0
Start building sites …
hugo v0.111.3+extended linux/amd64 BuildDate=2023-07-26T00:00:00+00:00 VendorInfo=Fedora:0.111.3-4.fc39
ERROR 2024/01/06 11:50:14 Failed to get JSON resource "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2FSanDiegoZoo%2Fstatus%2F1453110110599868418": Get "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2FSanDiegoZoo%2Fstatus%2F1453110110599868418": dial tcp: lookup publish.twitter.com: no such host
If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config:
ignoreErrors = ["error-remote-getjson"]
ERROR 2024/01/06 11:50:20 Failed to get JSON resource "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2FSanDiegoZoo%2Fstatus%2F1453110110599868418": Get "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2FSanDiegoZoo%2Fstatus%2F1453110110599868418": dial tcp: lookup publish.twitter.com: no such host
If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config:
ignoreErrors = ["error-remote-getjson"]
Error: Error building site: logged 2 error(s)
Built in 6035 ms
make: *** [Makefile:9: demo] Error 255
It seems the error isn't related to the theme, but to Hugo itself. Try updating your Hugo version. Maybe something related to the Twitter Shortcode is broken.