pancakeswap / pancake-frontend

:pancakes: Pancake main features (farms, pools, IFO, lottery, profiles)
https://pancakeswap.finance
GNU General Public License v3.0
2.7k stars 3.55k forks source link

[BUG] <title>Build error occurred #10867

Open z-hao opened 1 month ago

z-hao commented 1 month ago

Is there an existing issue for this?

Product

Trade

Current Behavior

Successfully built

Expected Behavior

Build error occurred, Error: Static page generation for / is still timing out after 3 attempts. See more info here https://nextjs.org/docs/messages/static-page-generation-timeout web:build: at onRestart (E:\apps\pancake-frontend\nodemodules.pnpm\next@14.2.14@babel+core@7.23.9_@opentelemetry+web:build: at async Span.traceAsyncFn (E:\apps\pancake-frontend\nodemodules.pnpm\next@14.2.14@babel+core@7.23.9_@opentelemetry+api@1.9.0_react-dom@18.2.0_react@18.2.0react@18.2.0\node_modules\next\dist\trace\trace.js:154:20) web:build: at async E:\apps\pancake-frontend\nodemodules.pnpm\next@14.2.14@babel+core@7.23.9_@opentelemetry+api@1.9.0_react-dom@18.2.0_react@18.2.0react@18.2.0\node_modules\next\dist\export\index.js:448:24 web:build: at async Promise.all (index 77) web:build: at async exportAppImpl (E:\apps\pancake-frontend\nodemodules.pnpm\next@14.2.14@babel+core@7.23.9_@opentelemetry+api@1.9.0_react-dom@18.2.0_react@18.2.0react@18.2.0\node_modules\next\dist\export\index.js:440:21) web:build: at async E:\apps\pancake-frontend\nodemodules.pnpm\next@14.2.14@babel+core@7.23.9_@opentelemetry+api@1.9.0_react-dom@18.2.0_react@18.2.0react@18.2.0\node_modules\next\dist\export\index.js:623:16 web:build: at async Span.traceAsyncFn (E:\apps\pancake-frontend\nodemodules.pnpm\next@14.2.14@babel+core@7.23.9_@opentelemetry+api@1.9.0_react-dom@18.2.0_react@18.2.0__react@18.2.0\node_modules\next\dist\trace\trace.js:154:20) web:build:  ELIFECYCLE  Command failed with exit code 1. web:build: ERROR: command finished with error: command (E:\apps\pancake-frontend\apps\web) C:\Program Files\nodejs\pnpm.cmd run build exited (1) web#build: command (E:\apps\pancake-frontend\apps\web) C:\Program Files\nodejs\pnpm.cmd run build exited (1)

Tasks: 25 successful, 26 total Cached: 25 cached, 26 total Time: 7m36.853s Failed: web#build

Steps To Reproduce

pnpm build

Environment

- Device: PC
- OS: Win10
- Browser:
- Wallet:

Anything else?

No response

PancakeSwap-bot commented 4 hours ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 2 days.