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

posted on 2020-11-21 09:40  barani  阅读(669)  评论(0编辑  收藏  举报

导航