[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# Build Stuck at Linter and Type checking Step – Works on Retry

327 views · 4 likes · 5 posts


Shubham (@shubham-4040) · 2025-07-23

We’ve been facing an intermittent issue where our builds on Vercel get stuck at the **“Linting and checking validity of types”** step. The process continues indefinitely unless manually cancelled. However, when we trigger the **exact same build again**, it completes successfully without any code changes.

Framework: Next.js 12
Node version: 18.x


Has anyone else experienced similar behavior? Any ideas on potential causes or ways to debug this? Would appreciate any insights.


Pauline P. Narvas (@pawlean) · 2025-07-23 · ♥ 1

Hey, Shubham!

I'll leave it to the wider community to jump in incase they've seen it before.

I would recommend getting a reproducible example for us to dig into and see if this is a bug on our side or in your code.

https://community.vercel.com/t/how-to-get-good-answers/158

Please take a look and then add whatever you can here to help the rest of us see what's going wrong


Swarnava Sengupta (@swarnava) · 2025-07-23 · ♥ 2

By the way, Next.js v12 is EOL now and no longer receives updates. We are also deprecating Node.js v18 next month. We recommend upgrading to Next.js v15 and trying with Node v20 or 22 to see if it helps.


Roger W (@rogerwillcocks-9993) · 2026-01-12 · ♥ 1

[Building stuck on Linting and checking validity of types ... · vercel/next.js · Discussion #73477](https://github.com/vercel/next.js/discussions/73477)

“This was resolved. It was some strange Windows line endings.”


Pauline P. Narvas (@pawlean) · 2026-01-24

Hey there, @shubham-4040!

Just checking in on your build issue with linting and type checking. Have you found a solution, or do you still need help? Let me know!