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

5.17.0 cause next build too long #48758

Closed
arvinxx opened this issue May 3, 2024 · 15 comments · Fixed by lobehub/lobe-chat#2430 or #48829
Closed

5.17.0 cause next build too long #48758

arvinxx opened this issue May 3, 2024 · 15 comments · Fixed by lobehub/lobe-chat#2430 or #48829
Assignees

Comments

@arvinxx
Copy link
Contributor

arvinxx commented May 3, 2024

Reproduction link

https://github.com/lobehub/lobe-chat/tree/repoduction/antd-5.17.0

Steps to reproduce

git clone https://github.com/lobehub/lobe-chat

git checkout repoduction/antd-5.17.0

# 安装依赖
pnpm i / bun i

# 构建
npm run build

What is expected?

完成构建,大约用时在 5 分钟左右

What is actually happening?

持续卡住在 Generating static pages 阶段,可能用时达到 20~30 分钟

image
Environment Info
antd 5.17.0
React 18
System macOS
Browser any

不确定是否 minimal 的仓库是否会遇到这个问题,但是 LobeChat 作为一个已经相对较为复杂的 next antd 应用遇到这个问题了,感觉应该是 5.17.0 的其中某些机制出了问题。

@arvinxx arvinxx changed the title 5.17.0 cause next build too long 5.17.0 cause next build too long May 3, 2024
@sid-tmbill
Copy link

sid-tmbill commented May 3, 2024

We are facing the same issue. After reverting back to [email protected] it is working fine

@kunchit
Copy link

kunchit commented May 5, 2024

yes me too

@rdmclin2
Copy link
Member

rdmclin2 commented May 5, 2024

+1

@ankha0109
Copy link

+1
It's taking 53 minutes to build.
image

@fabien-h
Copy link

fabien-h commented May 5, 2024

Same 40 minutes to build an almost empty project

@MonkSoul
Copy link

MonkSoul commented May 6, 2024

+1

1 similar comment
@alicanerdurmaz
Copy link

+1

@jxlpzqc
Copy link

jxlpzqc commented May 6, 2024

+1

About 10 minutes to build ant-design-examples/examples/with-nextjs-app-router-inline-style with antd 5.17.0.
After downgrade to 5.16.5, it takes only 14s.

@youssefsiam38
Copy link

+1

@archisketch-thangly
Copy link

+1

@li-jia-nan
Copy link
Member

@Yrobot
Copy link

Yrobot commented May 7, 2024

same,next build run infinitely under [email protected], downgrade to version 5.16.5 fix the problem.

@hrs036n
Copy link

hrs036n commented May 7, 2024

+1 me too, the same issues when use next build (next 14).

@M4h45amu7x
Copy link

+1 stuck on ✓ Collecting page data

@psxxj
Copy link

psxxj commented May 13, 2024

thank u so much ㅠㅠ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet