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
Not sure what version you’re trying to update from. But maybe you need to migrate?
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
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.
2 Likes
It worked perfectly, thanks dotzilla
You’re welcome! Glad i could help.
Please consider accepting the answer as a solution.