can't find compiler ngcc module after upgrading Angular and project

前端 未结 5 946
小鲜肉
小鲜肉 2020-12-29 04:52

I\'ve just upgraded Angular cli and one of my project from 7.0.7 to 7.1.0.

I\'ve followed this post and @Francesco Borzi\'s answer.

now I\'ve tried running my

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-29 05:33

    I got same error and solved this by updating @angular/cli global. like:

    npm uninstall -g @angular/cli
    npm install -g @angular/cli
    

    then tried creating new app and copied some dependencies from package.json file to current project because npm install doesn't install latest version of packages. then

    npm install
    

    this solved my problem but then I found this answer: update angular

提交回复
热议问题