Closed ChrisBurch closed 7 years ago
We ended up upgrading to angular4 (and removing the forms/wizard bits from the template), and got AOT builds working
$ ng --version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
@angular/cli: 1.2.7
node: 6.9.1
os: darwin x64
@angular/common: 4.3.3
@angular/compiler: 4.3.3
@angular/core: 4.3.3
@angular/forms: 4.3.3
@angular/http: 4.3.3
@angular/platform-browser: 4.3.3
@angular/platform-browser-dynamic: 4.3.3
@angular/router: 4.3.3
@angular/cli: 1.2.7
@angular/compiler-cli: 4.3.3
Hi there,
I'm still getting build failures when using AOT, after upgrading angular-cli by following these steps: https://github.com/angular/angular-cli#updating-angular-cli
I run
ng build --prod
, and I get the error:Any idea what I'm doing wrong?
Thanks, Chris