###OS?
macOS Sierra x64
Versions.
@angular/cli: 1.1.3
node: 6.10.0
os: darwin x64
@angular/animations: 4.4.3
@angular/common: 4.4.3
@angular/compiler: 4.4.3
@angular/core: 4.4.3
@angular/forms: 4.4.3
@angular/http: 4.4.3
@angular/platform-browser: 4.4.3
@angular/platform-browser-dynamic: 4.4.3
@angular/router: 4.4.3
@angular/cli: 1.1.3
@angular/compiler-cli: 4.4.3
@angular/language-service: 4.4.3
Repro steps.
App started using angular cli
The log given by the failure.
This is from my command line:
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/Users/ok13067/projects/test-aot/src'
@ ./src/main.ts 3:0-74
@ multi ./src/main.ts
Desired functionality.
build --aot