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

开发模式无法启动 #95

Open
mpv945 opened this issue Jun 28, 2023 · 2 comments
Open

开发模式无法启动 #95

mpv945 opened this issue Jun 28, 2023 · 2 comments

Comments

@mpv945
Copy link

mpv945 commented Jun 28, 2023

hugo version
hugo v0.114.1-e9b716ad9869b79e7c374bbdae4daf5ee6406bd4+extended linux/amd64 BuildDate=2023-06-23T11:02:58Z VendorInfo=snap:0.114.1

node -v
v18.16.1

测试这段,发现无法运行
🛠️ Development
git clone https://github.com/Ice-Hazymoon/hugo-theme-luna/
cd hugo-theme-luna
npm install
hugo server -s ./exampleSite -D --themesDir "../.."

错误:
WARN error calling resources.GetRemote: Get "https://pbs.twimg.com/media/FzhT64CXsAEWW4l?format=jpg&name=orig": dial tcp 108.160.169.186:443: i/o timeout

Built in 181988 ms

Error: error building site: render: failed to render pages: render of "page" failed: "/root/blog/my-blog/themes/hugo-theme-luna/layouts/_default/search.json:10:28": execute of template failed: template: _default/search.json:10:28: executing "_default/search.json" at <append $data>: error calling append: cannot append slice of []string to slice of string

@Ice-Hazymoon
Copy link
Owner

中国大陆网络环境需要开代理或者把Twitter功能关了

@ulookyoung
Copy link

I met the same issue, can you give me any tips I could work on?

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

3 participants