Skip to content

Web cannot run after update angular cli to 6.1.0 #11661

@yeah007

Description

@yeah007

Web cannot run after update angular cli to 6.1.0

Command (mark with an x)

--update angular cli---
npm i -g npm
npm install -g typescript
npm install -g @angular/cli
npm install

---run application---
ng serve --open

Versions

node v8.11.2
npm v6.2.0
ng version

Angular CLI: 6.1.0
Node: 8.11.2
OS: win32 x64
Angular:
...

Package Version

@angular-devkit/architect 0.7.0
@angular-devkit/core 0.7.0
@angular-devkit/schematics 0.7.0
@schematics/angular 0.7.0
@schematics/update 0.7.0
rxjs 6.2.2
typescript 2.7.2

The log given by the failure

Cannot read property 'write' of undefined
TypeError: Cannot read property 'write' of undefined
at UI.write (viewer\node_modules@angular\cli\ember-cli\lib\ui\index.js:56:23)
at UI.writeLine (viewer\node_modules@angular\cli\ember-cli\lib\ui\index.js:69:8)
at Class.run (viewer\node_modules@angular\cli\tasks\serve.js:237:12)
at check_port_1.checkPort.then.port (viewer\node_modules@angular\cli\commands\serve.js:123:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions