Skip to content

[Bug] Netlify部署提示内存不足 #2742

Discussion options

You must be logged in to vote

Netlify 构建内存不足,请尝试将下面配置项的值改为 node --max-old-space-size=4096 next build 再试试。

command = "npm run build"

CF Page 构建前,请删除根目录的 .nvmrc 文件。
此外由于 CF 免费计划对单文件大小限制在 25MB,所以本项目即使成功构建,也无法被部署。

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by arvinxx
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
3 participants
Converted from issue

This discussion was converted from issue #2731 on May 31, 2024 16:47.