Cannot read property 'entries' of undefined - Angular CLI

后端 未结 13 471
再見小時候
再見小時候 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-18 02:42

    In my case @schematics/angular was completely missing from my package.json -- not sure what happened.

    Running

    npm i @schematics/angular --save-dev
    

    Fixed the issue for me.

提交回复
热议问题