Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build or serve blog following quickstart instructions #876

Open
Denyreal opened this issue Jan 6, 2024 · 1 comment
Open

cannot build or serve blog following quickstart instructions #876

Denyreal opened this issue Jan 6, 2024 · 1 comment

Comments

@Denyreal
Copy link

Denyreal commented Jan 6, 2024

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:

  1. git clone https://github.com/luizdepra/hugo-coder.git
  2. cd hugo-coder
  3. 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
@luizdepra
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants