Vercel 构建失败 #134
-
Describe the bug 描述你遇到的错误Build failed Screenshots 屏幕截图Build Environment 构建环境vercel |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
What version of Hugo are you using? Can you build the site correctly in local environment? |
Beta Was this translation helpful? Give feedback.
-
我先是用vercel的hugo模板搭建,然后构建错误。之后我直接fork了你仓库里的plant-cloud进行构建,但都是同样的错误 |
Beta Was this translation helpful? Give feedback.
-
请问你使用的是什么版本的 Hugo 进行构建?在本地能否构建成功? |
Beta Was this translation helpful? Give feedback.
-
我没有在本地进行构建,我也不知道这是什么版本,我今天刚开始接触hugo。这是我的仓库你看https://github.com/fangaso/hugo |
Beta Was this translation helpful? Give feedback.
-
10:12:59.436 初始化构建环境。这可能需要几分钟才能完成 |
Beta Was this translation helpful? Give feedback.
-
10:12:59.436 Initializing build environment. This may take up to a few minutes to complete |
Beta Was this translation helpful? Give feedback.
-
Vercel 默认使用 请按照 vercel 的官方文档,使用 |
Beta Was this translation helpful? Give feedback.
-
谢谢大佬!你会中文和英文,好厉害 |
Beta Was this translation helpful? Give feedback.
Vercel 默认使用
v0.58.2
版本的 Hugo 进行构建,这个版本过于老旧,已经不再支持。请按照 vercel 的官方文档,使用
v0.85.0
版本的 Hugo 进行构建。