![]() Updates the rxjs library packages and their references in the application Ng update the angular material library packages and their references in the application Ng update the angular core library packages and their references in the application Update karma, typescript, and tslint configuration files.Ng update Copies the angular-cli.json configuration to angular.json as required by latest angular-cli and removes angular-cli.json ‘Upgrade packages’ and ‘ Solve peer dependency issues’ will be repeated until all the dependencies are resolved.Īfter finishing all the 5 steps we are done with the upgrade of an application to Angular6! More info on commands Command After this run ‘Upgrade packages’ again.Install codelyzer, to the latest version and to 2.6.2 with following commands:.In my case, I found codelyzer, and packages added need upgradation.Below is the snapshot of errors I encountered In case of an error, kindly read the error carefully to identify the packages that need to be upgraded before we upgrade the specific library.If there are no errors in the previous step, then you don’t need to anything in this step. ![]() Notes: Kindly note that above commands may change based on the application you are trying to upgrade Step 5: Solve peer dependency issues
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |