Versions
Angular CLI: 6.0.0-beta.8
Node: 8.9.3
OS: win32 x64
Angular: 6.0.0-rc.0
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
@angular/cdk: 5.2.4
@angular/cli: 6.0.0-beta.8
@angular/material: 5.2.4
@angular-devkit/architect: 0.0.9
@angular-devkit/core: 0.4.8
@angular-devkit/schematics: 0.4.8
@ngtools/json-schema: 1.1.0
@schematics/angular: 0.4.8
@schematics/update: 0.4.8
typescript: 2.7.2
webpack: error
Repro steps
a) ng update --next
b) remove global cli && yarn add@angular/cli@next -g again
issue 1
After ng -v I realize webpack is not installed I do yarn add webpack --dev installed 4.3.0
issue 2
ng s || ng build get me:
Cannot read property 'host' of null
TypeError: Cannot read property 'host' of null
at Architect._loadJsonFile (C:\...\@angular-devkit\architect\src\architect.js:200:32)
at Architect.loadArchitect (C:\...\@angular-devkit\architect\src\architect.js:68:45)
at MergeMapSubscriber.workspaceLoader.loadWorkspace.pipe.operators_1.concatMap.workspace [as project] (C:\...\@angular\cli\models\architect-command.js:150:184)
at MergeMapSubscriber._tryNext (C:\...\@angular\cli\node_modules\rxjs\operators\mergeMap.js:122:27)
at MergeMapSubscriber._next (C:\...\@angular\cli\node_modules\rxjs\operators\mergeMap.js:112:18)
at MergeMapSubscriber.Subscriber.next (C:\...\@angular\cli\node_modules\rxjs\Subscriber.js:93:18)
at DoSubscriber._next (C:\...\@angular\cli\node_modules\rxjs\operators\tap.js:88:30)
at DoSubscriber.Subscriber.next (C:\...\@angular\cli\node_modules\rxjs\Subscriber.js:93:18)
at MergeMapSubscriber.notifyNext (C:\...\@angular\cli\node_modules\rxjs\operators\mergeMap.js:145:30)
at InnerSubscriber._next (C:\...\@angular\cli\node_modules\rxjs\InnerSubscriber.js:23:21)
Versions
Repro steps
a) ng update --next
b) remove global cli && yarn add@angular/cli@next -g again
issue 1
After
ng -vI realize webpack is not installed I doyarn add webpack --devinstalled 4.3.0issue 2
ng s || ng buildget me: