How can i update Ionic to v 1.3.2 "france"


#1

ionic lib update is not working anymore, can i just paste the new files in lib/ or can we use another command to upgrade ionic 1 ?
Thanks


#2

Not sure what version you’re trying to update from. But maybe you need to migrate?

http://docs.ionic.io/migration.html


#3

Hi,

I did the migration already,
trying to update from 1.3.1



Your system information:

Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.1
Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
ios-deploy version: 1.8.2
ios-sim version: 5.0.6
OS: Mac OS X Sierra
Node Version: v4.5.0
Xcode version: Xcode 8.1 Build version 8B62


#4

Then try the following:

  • backup your ionic folder from www/lib (just in case ;))
  • modify your bower.json in project root and add the desired version number. Example:

"ionic": "driftyco/ionic-bower#1.3.2",

  • type “bower update ionic --force
  • update should be applied as desired

I just crosschecked this here with an older project of mine.


#5

It worked perfectly, thanks dotzilla :+1:


#6

You’re welcome! Glad i could help.
Please consider accepting the answer as a solution. :blush: