angular编译内存不足的问题

An unhandled exception occurred: Call retries were exceeded
See "/tmp/ng-DnpDnh/angular-errors.log" for further details.

在package.json中,把build改为:node --max_old_space_size=4096 node_modules/@angular/cli/bin/ng build

原文地址:https://www.cnblogs.com/iguor/p/14014616.html