Next.js Discord

Discord Forum

Nextjs 14 is painfully slow in development

Unanswered
Broad-snouted Caiman posted this in #help-forum
Open in Discord
Broad-snouted CaimanOP
Been using nextjs for about 2 years and wasn’t until lately that I began to notice apps tend to reload slower and slower especially in v14, it can take an average of 10-30+ seconds to “compile” a fully static page with no dynamic data, pages with server fetch requests often take up to a minute, and no it’s not slow network, because when I downgraded to v13.5.2 things were much faster, although still taking 3-5 seconds on pages that have not been rendered before.

I have tried running dev server with —turbo, didn’t really do much of a difference

Is there something I’m doing wrong or is this the norm now

Nextjs used to be great, since this whole RSC thing came onboard it’s been downhill

More details:
OS: Mac OS Sonoma
Node: v21.2.0
Next: v14.0.3

3 Replies

I dont know if it has anything to do with it but try using Node 20 instead.

Im not sure what exactly the issues were but i saw some people having issues with Node 21
Also keep using the normal SWC version not turbo for now.

Delete .next and node_modules, try checking if its not due to load (memory) that the rebuilding isnt happening fast enough
Or maybe the code is huge? Too many factors. If nothing helps you'll have to create a issue on the github repo