Angular 6 Migration -.angular-cli.json to angular.json

前端 未结 8 1795
北荒
北荒 2020-12-04 16:37

I\'ve upgraded my project to Angular 6, and everything went fine except the conversion of .angular-cli.json file. From the guide I followed, it was said that th

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 17:01

    I had to actually commit every changes or stash them before I could run the command to update the cli as shown in this screenshot.

    I did these commands:

    npm install --save-dev @angular/cli@latest 
    
    ng update@angular/cli
    

    And committing the changes between these two.

提交回复
热议问题