Help Center/ CodeArts Build/ FAQs/ npm Builds/ Why Did My Build Fail Without Displaying Any Error Logs?
Updated on 2025-10-15 GMT+08:00

Why Did My Build Fail Without Displaying Any Error Logs?

Symptoms

Build with npm fails, but no error log is displayed. The error is shown in the following figure.

Cause Analysis

In the build script, it has been configured that the build stops when an error occurs.

Solution

Check the build script and delete the configurations that may cause the sudden stops when an error occurs, such as process.exit(1).