Next.js Discord

Discord Forum

Next.js 15 with/without Turbopack: Infinite Compilation on Page Load

Unanswered
Daggertooth pike conger posted this in #help-forum
Open in Discord
Avatar
Daggertooth pike congerOP
I'm encountering an issue after upgrading to Next.js 15 with Turbopack. While the initial dev server startup seems normal, accessing localhost:3004 triggers an infinite compilation state. The compilation only completes when terminating the server with Ctrl+C/Command+C.

Steps to Reproduce:
1. Start dev server: next dev --turbopack -p 3004
2. Server starts successfully
3. Access http://localhost:3004
4. Page gets stuck in compilation state

Terminal Output:
> web@0.1.0 dev /Users/mac/WebstormProjects/inspira-admin-panel/apps/web
> next dev --turbopack -p 3004

   ▲ Next.js 15.0.2 (Turbopack)
   - Local:        http://localhost:3004

 ✓ Starting...
 ✓ Compiled in 276ms
 ✓ Ready in 1331ms
 ○ Compiling / ...
 ✓ Compiled / in 272.2s


Environment:
- Next.js: 15.0.2
- Using: Turbopack
- OS: macOS

Has anyone else encountered this issue or knows a potential solution?

0 Replies