- [ ] new - [x ] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [ ] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc
Yes, the previous version in which this bug was not present was 8.2.1, maybe 8.2.2
When using ng build in circle ci, it throws an error (screenshot attached):
Generating ES5 bundles for differential loading... An unhandled exception occurred: cancel after 1 retries!
Unfortunately, I cant provide a way to reproduce it as it happens only in CI and I am unable to get the logs. I think it's related to the size of my app but I cant be sure.
WARNING in budgets, maximum exceeded for initial. Budget 2 MB was exceeded by 2.2 MB.
Generating ES5 bundles for differential loading...
An unhandled exception occurred: cancel after 1 retries!
See "/tmp/ng-8Tr7C1/angular-errors.log" for further details.
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! firstname.lastname@example.org build-dev:
ng build --configuration dev
npm ERR! spawn ENOENT
npm ERR! Failed at the email@example.com build-dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/circleci/.npm/_logs/2019-08-31T09_20_07_881Z-debug.log Exited with code 1 </code></pre>
<pre><code> @angular-devkit/architect 0.803.2 @angular-devkit/build-angular 0.803.2 @angular-devkit/build-optimizer 0.803.2 @angular-devkit/build-webpack 0.803.2 @angular-devkit/core 8.3.2 @angular-devkit/schematics 8.3.2 @angular/cdk 8.1.4 @angular/cli 8.3.2 @angular/flex-layout 8.0.0-beta.27 @angular/material 8.1.4 @ngtools/webpack 8.3.2 @schematics/angular 8.3.2 @schematics/update 0.803.2 rxjs 6.5.2 typescript 3.5.3 webpack 4.39.2 </code></pre>
This has just started happening to me after
Generating ES5 bundles for differential loading... on a Mac Mini with 2.6GHZ i5 and 16GB of RAM latest MacOS 10.14.6 when I build with
--debug through Ionic4 (not a CI system), or rather,
ng build with no options.
Upgraded from 0.803.2 to 0.803.3 etc and still happens
(I'm not presently in a position to make a minimal repo, sorry)