Issue
I am getting the following error when I try to run the command
ng update @angular/cli @angular/core --allow-dirty
Repository is not clean. Update changes will be mixed with pre-existing changes.
Using package manager: 'npm'
Collecting installed dependencies...
Found 28 dependencies.
Package '@angular/cli' is not a dependency.
Solution
First commit all your changes to the repo and then try following commands.
npm i -g @angular/cli@8.0.0
and
ng update --all --force
Please read this issue on github
Answered By - Nimezzz
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.