Cannot read property 'entries' of undefined - Angular CLI

后端 未结 13 454
再見小時候
再見小時候 2021-01-18 02:04

I installed latest Angular CLI and was trying to create a new app i am getting the below error. I uninstalled , cleaned cache , cleaned by forcing it , installed , updated

13条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-18 02:38

    Updating all my angular schematic packages worked for me.

    Angular CLI: 6.2.3
    Node: 8.11.2
    OS: darwin x64
    Angular: 5.2.11
    ... animations, common, compiler, compiler-cli, core, forms
    ... http, platform-browser, platform-browser-dynamic
    ... platform-server, router
    
    Package                           Version
    -----------------------------------------------------------
    @angular-devkit/architect         0.6.8
    @angular-devkit/build-angular     0.6.8
    @angular-devkit/build-optimizer   0.8.3
    @angular-devkit/core              0.8.3
    @angular-devkit/schematics        0.8.3
    @angular/cli                      6.2.3
    @angular/pwa                      0.7.5
    @ngtools/webpack                  6.0.8
    @schematics/angular               0.8.3
    @schematics/update                0.8.3
    rxjs                              5.5.12
    typescript                        2.4.2
    webpack                           4.8.3
    

提交回复
热议问题