Vercel build logs not showing after npm run build fails with exit code 1

I’m trying to upload a project, it’s giving me an error and not showing the logs.

Error:

Command npm run build exited with 1

A post was merged into an existing topic: Vercel build logs panel stuck on Loading in the dashboard

A post was merged into an existing topic: Vercel build logs panel stuck on Loading in the dashboard