I have Angular 15 on Azure server. Now I have got a project having Angular 9, and I need to upgrade it to 15 using Azure DevOps pipeline.
Firstly, when I executed Angular 9 Azure Pipeline, it gave me peer dependency error, which I have resolved by updating package.json taking reference fron already running Angular 15 project.
But what is the next step now? When Iam trying to execute ng update command using ‘npm’ step in pipeline, its giving me below error.
Error: Repository is not clean. Please commit or stash any changes before updating.
I do not have access to git to clean it.
And if I try to simply use ng build, it gives me several errors in each and every Repo file, that I need to correct and update according to Angular 15.
Please help here urgently.
Firstly, when I executed Angular 9 Azure Pipeline, it gave me peer dependency error, which I have resolved by updating package.json taking reference fron already running Angular 15 project.
But what is the next step now? When Iam trying to execute ng update command using ‘npm’ step in pipeline, its giving me below error.
Error: Repository is not clean. Please commit or stash any changes before updating.
I do not have access to git to clean it.
And if I try to simply use ng build, it gives me several errors in each and every Repo file, that I need to correct and update according to Angular 15.
Please help here urgently.