Skip to content

ng serve crashes after second save angular-cli 1.5.0 #8522

@chandanch

Description

@chandanch

Versions

Angular CLI: 1.5.0
Node: 6.11.2
OS: win32 ia32
Angular: 5.0.1
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.5.0
@angular-devkit/build-optimizer: 0.0.32
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.35
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.2
typescript: 2.4.2
webpack: 3.8.1

Repro steps

  • Step 1
    update to angular-cli 1.5.0
  • Step 2
    run the application using ng serve
  • Step 3
    make changes and save the file. repeat this step again. observe the error on terminal and on browser console window where the application is opened

Observed behavior

The following error is thrown on the browser console and on terminal:

    at ChildProcess.target.send (internal/child_process.js:554:16)
    at AngularCompilerPlugin._updateForkedTypeChecker (G:\projects\FIVE-STAR\node_modules\@ngtools\webpack\src\angular_compiler_plugin
.js:370:34)
    at Promise.resolve.then (G:\projects\FIVE-STAR\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:208:22)
    at process._tickCallback (internal/process/next_tick.js:109:7)```

Desired behavior

This error is occurring after upgrading to 1.5.0. The ng serve should detect changes and should serve seamlessly without any error.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions