Upgrading existing ionic project to latest version

Upgrading existing ionic project to latest ionic version.

Attaching ionic info from my project

image

You didn’t really ask a question, but:

https://github.com/ionic-team/ionic/releases/tag/v3.4.0 has a nice “Steps to upgrade” description.
There was a .2 release later, so just replace “3.4.0” with “3.4.2”.

I got my answers.
i used following commands.

-npm update -g ionic or ( use npm uninstall cordova ionic and npm install -g cordova ionic)
or ( npm install -g ionic@latest)

After that I created new project and compared its ionic info with my existing project.All coponents version were same for both new and old project except, New project had higher version of ionic-angular and @ionic/app-script than old so, I used following commands to upgrade these individial components,
-npm install ionic-angular@latest --save
-npm install @ionic/app-scripts@latest --save dev

1 Like

Please be aware that not only the ionic libraries, but also angular and some others (see changelog on Github I linked) should be upgraded for optimal functionality.

1 Like