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

Why Did My Build Fail Without Displaying Any Errors?

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).