🐌 Extremely Slow Initial Compilation with Next.js 15.1.0 + tRPC
I recently upgraded to Next.js 15.1.0, and I'm experiencing extremely slow initial compilation times (>22 minutes). Here's what I'm seeing:
Environment:
- Next.js 15.1.0
- Using tRPC with multiple queries
- Project was built on a fork of create-t3-turbo
Details:
- Initial compilation takes 1350.5s (22.5 minutes)
- Screenshot shows compilation getting stuck at "Compiling /project-management/tasks"
What I've tried:
- Updating and downgrading react and react-dom.
- Updating NextAuth to the version compatible with Next 15.
Has anyone else encountered similar compilation issues after upgrading to Next.js 15? Any suggestions for debugging or optimizing the build time?

0 Replies