Next.js Discord

Discord Forum

Windows (powershell) unable to start Next.js server after version 15.4.0

Answered
Valentine ant posted this in #help-forum
Open in Discord
Valentine antOP
I can't seem to start a dev server (npm run dev) or do a build (npm run build) with next.js 15.4.1 or 15.4.2, but can downgrade and do so with 15.4.0. I've cleaned and re-installed with each version, but it seems 15.4.1 has broken something that no longer builds. I do not get any errors, it just hangs at next build.
Answered by Valentine ant
FINALLY FIXED!!!! IT seems with 15.4.7 something has changed that is allowing compilation again. No explanation other than possibly it was the bug fixes that were back ported into that version that fixed it.
View full answer

13 Replies

Valentine antOP
Bah... issue is still there in 15.4.3.
Valentine antOP
Ok, based on what somebody else said with a build issue, I decided to let it run. This is what resulted:
> next build


> Build error occurred
RangeError: Invalid array length
    at Array.push (<anonymous>)
That's all I got from it.
Brown bear
Try to use wsl until a fix is released
Valentine antOP
Yes, will do (or just stick to 15.4.0), but is this a known issue?
Valentine antOP
FYI, still an issue with 15.4.4
Valentine antOP
Still an issue with 15.4.5
Valentine antOP
Still an issue with 15.4.6
Valentine antOP
FINALLY FIXED!!!! IT seems with 15.4.7 something has changed that is allowing compilation again. No explanation other than possibly it was the bug fixes that were back ported into that version that fixed it.
Answer
@Anay-208 | Ping in replies Can you mark this message as a solution?
Valentine antOP
If I knew how to do that in discord I would.