Skip to content

ngcc messes up ng version #14193

Closed
Closed
@StephenFluin

Description

@StephenFluin

🐞 Bug report

Command (mark with an x)

- [x] version

Is this a regression?

Regression caused by running ngcc

Description

When I run ngcc (via ng serve on an Ivy enabled project), ng version gives me some weird results.

🔬 Minimal Reproduction

ng new my-app --enable-ivy
cd my-app
ng serve # this runs ngcc

ng version

🔥 Exception or Error

Angular CLI: 8.0.0-beta.15
Node: 11.10.0
OS: linux x64
Angular: 8.0.0-beta.12
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.800.0-beta.15
@angular-devkit/build-angular     0.800.0-beta.15
@angular-devkit/build-optimizer   0.800.0-beta.15
@angular-devkit/build-webpack     0.800.0-beta.15
@angular-devkit/core              8.0.0-beta.15
@angular-devkit/schematics        8.0.0-beta.15
@angular/@types                   <error>
@angular/cli                      8.0.0-beta.15
@angular/events                   <error>
@angular/fire                     5.1.2
@angular/firebase                 <error>
@angular/rxjs                     <error>
@angular/source-map               <error>
@angular/tslib                    <error>
@angular/typescript               <error>
@ngtools/webpack                  8.0.0-beta.15
@schematics/angular               8.0.0-beta.15
@schematics/update                0.800.0-beta.15
rxjs                              6.4.0
typescript                        3.4.3
webpack                           4.29.6

I don't expect to see @angular/typescript or @angular/events or @angular/rxjs here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions