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

前端 未结 5 949
小鲜肉
小鲜肉 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:20

    All of that doesn't work for me, I was trying to upgrade from Angular 7 to Angular 8 and here is the working solution for me:

    1. npm outdated.
    2. npm update.
    3. npm install -g npm-check.
    4. npm-check -u --skip-unused.
    5. Upgrade all the outdated packages except the sass ones using npm-check.
    6. npm update.
    7. If you have ViewChild on your application, be sure to edit them to @ViewChild(, {static: true}).

提交回复
热议问题