Repository is not clean. Please commit or stash any changes before updating In Angular 8

前端 未结 7 610
一生所求
一生所求 2021-01-31 00:49

Error

Repository is not clean. Please commit or stash any changes before updating

when i have updated from version 7 to Angular 8.

相关标签:
7条回答
  • 2021-01-31 01:37

    I have tried using mention command for upgrading from angular 8 to angular 9, but was still getting the error.

    Then i have tried same command with --force flag and it worked for me.

    ng update @angular/cli @angular/core --allow-dirty --force
    
    0 讨论(0)
提交回复
热议问题