Updated on 2023-11-28 GMT+08:00

npm cb() never called

Symptoms

When the npm build task is executed, the following error information is displayed in the log:

Cause Analysis

The npm cache is abnormal and needs to be cleared.

Solution

Edit the task, add the npm cache clean -f command before the npm install command, save the task, and execute the task again.