Why next build stuck on "Checking validity of types..."? #34803
-
When I deploy my next.js project on Vercel or build on local. And stuck on "Checking validity of types...".
I deploy on vercel for one hour. Then get build failed. Vercel log:
Repository: Link |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
not work |
Beta Was this translation helpful? Give feedback.
-
is the problem solved? |
Beta Was this translation helpful? Give feedback.
-
Not solved
…On Fri, Mar 21, 2025, 15:04 Jsloo ***@***.***> wrote:
is the problem solved?
May i know how u solve the prolem?
—
Reply to this email directly, view it on GitHub
<#34803 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL3VALFQHU6IFVUO7EFX3HT2VP2M3AVCNFSM6AAAAABXGBXTASVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENJXGYZDMMQ>
.
You are receiving this because you commented.Message ID: <vercel/next.
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hello.
Thank you for providing a link to your repository.
It seems that the issue is in the
lib/remark-code-title.ts
file.This simple diff:
allows to go through the typechecking without any issue.
I'm not sure why this is happening, but it should help you debug it 🙂 .