Created
May 4, 2018 20:55
-
-
Save xola139/d15bc76a6d1b46207e38f30532ee446e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 | |
down vote | |
accepted | |
You need to update all angular provided packages to their latest versions as follows: | |
npm install typescript@2.4 --save-dev | |
npm install @angular/common@latest @angular/compiler@latest @angular/compiler-cli@latest @angular/core@latest @angular/forms@latest @angular/http@latest @angular/platform-browser@latest @angular/platform-browser-dynamic@latest @angular/platform-server@latest @angular/router@latest @angular/animations@latest --save | |
This should do all the necessary. Plus you could also update your angular cli that ships with angular 5 as standard version as follows: | |
npm uninstall -g @angular/cli | |
npm cache clean | |
npm install -g @angular/cli@latest | |
Here is the official blogpost by Angular team : https://angular-update-guide.firebaseapp.com/. This update guide will help you to migrate from any version to the latest one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment