Next.js Discord

Discord Forum

All builds in 2025 are erroring on next 14.x

Unanswered
Budgerigar posted this in #help-forum
Open in Discord
BudgerigarOP
Builds are now erroring consistently (even on previous git tags that built fine on 12/30/2024.

Error looks like:

info  - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
 ✓ Linting and checking validity of types    
   Creating an optimized production build ...
 ✓ Compiled successfully
   Collecting page data  ..Error: Length must be a positive number
    at i (/Users/devth/converge/web/src/app/.next/server/pages/[network]/admin/analytics.js:1:39208)
    at /Users/devth/converge/web/src/app/.next/server/pages/[network]/admin/analytics.js:1:33530

> Build error occurred
Error: Failed to collect page data for /[network]/admin/analytics
    at /Users/devth/converge/web/node_modules/next/dist/build/utils.js:1269:15 {
  type: 'Error'
}


Is there something about the date / new year that's causing this?

1 Reply

BudgerigarOP
node 20.18.0