<h1>Hello World!</h1>
<h2 *ngFor="let item of data">{{ item }}</h2>
> angular2-aot-webpack@1.0.0 start C:\\angular2-aot-webpack
> npm run cleanup && npm run ngc && concurrently -r "webpack-dev-server --config webpack.aot.config.js" "node ./bin/ngc-watch.js"
> angular2-aot-webpack@1.0.0 cleanup C:\\angular2-aot-webpack
> rimraf src/app/**/*.ngfactory.ts src/app/**/*.ngstyle.ts src/app/**/*.ngsummary.json build dist
> angular2-aot-webpack@1.0.0 ngc C:\\angular2-aot-webpack
> ngc
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
10% building modules 2/2 modules 0 activeProject is running at http://localhost:9000/
webpack output is served from /
404s will fallback to /index.html
10% building modules 3/7 modules 4 active ...\webpack-dev-server\client\overlay.js
[at-loader] Using typescript@2.2.0 from typescript and "tsconfig.json" from C:\\angular2-aot-webpack/tsconfig.json.
94% asset optimization
[at-loader] Checking started in a separate process...
[at-loader] Checking finished with 1 errors
ERROR in [at-loader] TS6059: File 'C://angular2-aot-webpack/node_modules/@angular/common/src/directives/ng_for.ngfactory.ts' is not under 'rootDir'
'C://angular2-aot-webpack/src/app'. 'rootDir' is expected to contain all source files.
webpack: Failed to compile.
I am using the AoT example https://github.com/blacksonic/angular2-aot-cli-webpack-plugin . Adding for example an ngFor in the template results into errors during start.