Versions
Angular CLI: 6.0.0-beta.6
Node: 9.7.1
OS: darwin x64
Angular: 6.0.0-beta.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Repro steps
- npm install -g @angular/cli@next
- set
es2015 in tsconfig.json
- use (required because of
es2015) --aot=true with ng serve
Observed behavior
$ ng serve --aot
Schema validation failed with the following errors:
Data path "" should NOT have additional properties (aot).
Error: Schema validation failed with the following errors:
Data path "" should NOT have additional properties (aot).
at MergeMapSubscriber.registry.compile.pipe.operators_1.concatMap.validatorResult [as project] (/Users/benneq/Development/ng6/node_modules/@angular-devkit/architect/src/architect.js:218:39)
at MergeMapSubscriber._tryNext (/Users/benneq/Development/ng6/node_modules/rxjs/operators/mergeMap.js:122:27)
at MergeMapSubscriber._next (/Users/benneq/Development/ng6/node_modules/rxjs/operators/mergeMap.js:112:18)
at MergeMapSubscriber.Subscriber.next (/Users/benneq/Development/ng6/node_modules/rxjs/Subscriber.js:90:18)
at MergeMapSubscriber.notifyNext (/Users/benneq/Development/ng6/node_modules/rxjs/operators/mergeMap.js:145:30)
at InnerSubscriber._next (/Users/benneq/Development/ng6/node_modules/rxjs/InnerSubscriber.js:23:21)
at InnerSubscriber.Subscriber.next (/Users/benneq/Development/ng6/node_modules/rxjs/Subscriber.js:90:18)
at MapSubscriber._next (/Users/benneq/Development/ng6/node_modules/rxjs/operators/map.js:85:26)
at MapSubscriber.Subscriber.next (/Users/benneq/Development/ng6/node_modules/rxjs/Subscriber.js:90:18)
at SwitchMapSubscriber.notifyNext (/Users/benneq/Development/ng6/node_modules/rxjs/operators/switchMap.js:126:30)
Desired behavior
aot should work with ng serve, because else es2015 will not work.
Mention any other details that might be useful (optional)
Versions
Repro steps
es2015intsconfig.jsones2015)--aot=truewithng serveObserved behavior
Desired behavior
aotshould work withng serve, because elsees2015will not work.Mention any other details that might be useful (optional)