Repository is not clean. Please commit or stash any changes before updating In Angular 8 December 3, 2022 by Tarik It’s a bug in Angular 8 you can work around it by using: ng update @angular/cli @angular/core --allow-dirty