Skip to content

make server error #3594

@xiao-jay

Description

@xiao-jay

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions