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

make server error #3594

Open
xiao-jay opened this issue Apr 10, 2022 · 2 comments · May be fixed by #3601
Open

make server error #3594

xiao-jay opened this issue Apr 10, 2022 · 2 comments · May be fixed by #3601
Labels

Comments

@xiao-jay
Copy link
Contributor

This is a Bug Report

env:mac m1 2021

when i follow the readme and run make server and get the error

Your Hugo version does not match the recommended Hugo version v0.95.0. If you are having problems make sure to align your version.
hugo: downloading modules …
hugo: collected modules in 12894 ms
Start building sites … 
hugo v0.92.1+extended darwin/arm64 BuildDate=unknown
WARN 2022/04/10 20:54:11 .Path when the page is backed by a file is deprecated and will be removed in a future release. We plan to use Path for a canonical source path and you probably want to check the source is a file. To get the current behaviour, you can use a construct similar to the one below:

  {{ $path := "" }}
  {{ with .File }}
	{{ $path = .Path }}
  {{ else }}
	{{ $path = .Path }}
  {{ end }}


Re-run Hugo with the flag --panicOnWarning to get a better error message.
ERROR 2022/04/10 20:54:42 Failed to get JSON resource "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2FROOT_OR_DEATH%2Fstatus%2F1154827663758036992": Get "https://publish.twitter.com/oembed?dnt=false&url=https%3A%2F%2Ftwitter.com%2FROOT_OR_DEATH%2Fstatus%2F1154827663758036992": dial tcp 199.96.61.1:443: i/o timeout
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: "/Users/jie/Desktop/jekins-x/jx-docs/content/en/_index.html:1:1": timed out initializing value. You may have a circular loop in a shortcode, or your site may have resources that take longer to build than the `timeout` limit in your Hugo config file.
Built in 32169 ms
make: *** [server] Error 255

Page to Update:

readme_CN some link can not work
such as

[Git 子模块](#Git 子模块)
[下载 npm 模块](#下载 npm 模块)
[运行 Hugo](#运行 Hugo)
@xiao-jay
Copy link
Contributor Author

hello,have someone know how to solve this hugo problem

@aabhas-sao
Copy link
Contributor

hey, @xiao-jay this might probably be due to docsy used as a Hugo module. Let me check it out. I am getting a different error though.

env: M1 mac

aabhas@aabhas jx-docs % make server
Start building sites … 
hugo v0.95.0-9F2E76AF+extended darwin/arm64 BuildDate=2022-03-16T14:20:19Z VendorInfo=gohugoio
Error: Error building site: "/Users/aabhas/Desktop/workspace/jx-docs/content/zh/docs/contributing/code/_index.md:20:1": failed to extract shortcode: template for shortcode "alert" not found
Built in 2011 ms
make: *** [server] Error 255

@aabhas-sao aabhas-sao linked a pull request Apr 27, 2022 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants