Friday, May 4, 2018

Upgrade to angular 6

How to upgrade/update to angular 6 ?

By using the angular cli we can upgrade to angular 6, below are the steps to upgrade

  1. Update the NodeJS version to 8.9+
  2. Update Angular cli to latest version

  3. npm uninstall -g @angular/cli
    npm cache verify
    npm cache clean
    npm install -g @angular/cli@next
    npm install typescript@2.7.2