Nx build hangs for indefinite

deployment ID: 78c05b2e-821f-4568-b81b-72f0d1419223 account ID: 40db39063e405ac734b95d382cba7970 Locally it takes around 19s to build Failed after: 30 min, no error log
15:24:13.440 [4/4] Building fresh packages...
15:24:15.651 Done in 78.93s.
15:24:15.701 Executing user command: yarn build:internal --verbose
15:24:16.190 yarn run v1.22.19
15:24:16.211 $ nx run admin.bini.live:build --emptyOutDir --verbose
15:24:17.019
15:24:17.020 NX Running target build for project admin.bini.live and 1 task it depends on:
15:24:17.020
15:24:17.020
15:59:21.341 Failed: build exceeded the time limit and was terminated. Refer to https://developers.cloudflare.com/pages/platform/limits/#builds for build limits
15:24:13.440 [4/4] Building fresh packages...
15:24:15.651 Done in 78.93s.
15:24:15.701 Executing user command: yarn build:internal --verbose
15:24:16.190 yarn run v1.22.19
15:24:16.211 $ nx run admin.bini.live:build --emptyOutDir --verbose
15:24:17.019
15:24:17.020 NX Running target build for project admin.bini.live and 1 task it depends on:
15:24:17.020
15:24:17.020
15:59:21.341 Failed: build exceeded the time limit and was terminated. Refer to https://developers.cloudflare.com/pages/platform/limits/#builds for build limits
5 Replies
James
James4mo ago
How long does it take to build and then exit when you run it locally?
nafiul
nafiulOP4mo ago
locally it takes around 30s.
James
James4mo ago
Are you using the same yarn/node (etc). versions?
nafiul
nafiulOP4mo ago
using node 20 and yarn 1
Rabid
Rabid3mo ago
I'm having this exact problem new to this week, used to be fine This build ran for 36 minutes and died: https://dash.cloudflare.com/619a3b77263fc3ea5a79eb8ee3d943db/pages/view/d4planner/1e126f1a-1205-4598-b21a-111b40565a32 This one finished in 4m, no real noteworthy code changes to justify this: https://dash.cloudflare.com/619a3b77263fc3ea5a79eb8ee3d943db/pages/view/d4planner/1a7964e0-b18d-4886-a48e-e7dcea122d23
Want results from more Discord servers?
Add your server