Hi guys, this is based off a reply I did in another post, but I was unable to successfully use “ionic lib update” to update version 13 to version 14 without doing the below steps. (Before doing the below steps, ionic lib update would always just return beta version 13, which was the current installed for the project).
First off, I changed the bower.json file in the root folder of project / to be ionic version 14:
Which worked fine for me, however, the problem I ran into is that version 14 uses a new version of angular which caused me a lot of problems with the second bower.json file in /www/lib/ionic. Instead of trying to resolve all the new versions within that file, I removed the second bower.json file contained within ionic folder, using these commands:
git rm .bower.json
git rm bower.json
So, after modifying the root bower.json and deleting all the bower.json files in the ionic folder, then I navigated back to the root folder and ran ionic lib update. Then, it asked me if I wanted to proceed (yes) and this was the result:
Unable to load ionic lib version information
Are you sure you want to replace /ionic/flight_test_beta14/www/lib/ionic with an updated version of Ionic?
Latest version: 1.0.0-beta.14 (released 2014-12-15)
Ionic version updated to: 1.0.0-beta.14
This seems to have worked for me. Note, that there is no bower.json file in the new structure located in the /www/lib/ionic folder, now it is version.json and correctly shows the new version:
Also I had to remove any dependencies that were not compatible with Angular 1.3 in my root bower.json before this would work properly.
I hope this helps anyone struggling to update their project the new version of Ionic Beta 14!