Local Ionic version: 1.0.0-rc.0 (<root dir>\<project dir>\www\lib\ionic\bower.json)
Latest Ionic version: 1.0.0-rc.2 (released 2015-03-30)
* Local version is out of date
If I run ionic lib update I get:
bower ionic#1.0.0-rc.0 cached git://github.com/driftyco/ionic-bower.git#1.0.0-rc.0
bower ionic#1.0.0-rc.0 validate 1.0.0-rc.0 against git://github.com/driftyco/ionic-bower.git#1.0.0-rc.0
If I try the bower route and update the bower.json to rc2 and run ionic lib update I get:
bower ionic#1.0.0-rc.2 cached git://github.com/driftyco/ionic-bower.git#1.0.0-rc.2
bower ionic#1.0.0-rc.2 validate 1.0.0-rc.2 against git://github.com/driftyco/ionic-bower.git#1.0.0-rc.2
bower angular#1.3.13 cached git://github.com/angular/bower-angular.git#1.3.13
bower angular#1.3.13 validate 1.3.13 against git://github.com/angular/bower-angular.git#1.3.13
bower angular-animate#1.3.13 cached git://github.com/angular/bower-angular-animate.git#1.3.13
bower angular-animate#1.3.13 validate 1.3.13 against git://github.com/angular/bower-angular-animate.git#1.3.13
bower angular-sanitize#1.3.13 cached git://github.com/angular/bower-angular-sanitize.git#1.3.13
bower angular-sanitize#1.3.13 validate 1.3.13 against git://github.com/angular/bower-angular-sanitize.git#1.3.13
bower angular#>= 1.0.8 cached git://github.com/angular/bower-angular.git#1.3.15
bower angular#>= 1.0.8 validate 1.3.15 against git://github.com/angular/bower-angular.git#>= 1.0.8
bower ECONFLICT Unable to find suitable version for angular
So i need to update angular?? or�
p.s. this is CLI version 1.3.18
EDIT:
DāOH!! bower update after upping the bower.json to rc2 fixes it, but it looks like after you do that the ionic lib update no longer worksā¦
As before, it ādoesā work if you update with bower as before.
Just to reiterate, if you have not previously updated bower, ionic lib update will work as expected, I donāt understand why merely changing the ionic version in bower, then bower updating, breaks the ionic lib update command?
Have a squiz in your www/lib/ionic folder and see if there are any bower files there. If there are, delete them, then return to the root of your ionic project and run:
ionic lib update -d
Which should kick off the process. Without deleting the bower files within the ionic folder (seem to be there from older pre-rc versions), it will kick out of the process without updating your version.
I just updated my project with Ionic 1.0 rc5 to the new 1.0.0. Everything works just fine in the browser (ionic serve). But when I build to Android, the app that was running ok before, go now to blank when I install it on my phone. Anyone with the same problem?
No issues with blank screens, but am having issues referencing the facebook and google places js sdkās (now returning 404ās). Have you checked the debug panel @rsalinas?
We upgraded to v1.0.0 from beta12, spent two days trying to get the app to work at least as good as it once did, but are having such severe performance issues we need to revert to the old version.
How can I revert to an old version of ionic? Is there something like āionic lib install --VERSIONā?
So it should be updated to the latest version, but not ! When I type again a ionic info, I have same informations as beforeā¦
How to update ionic in my project ?
Thank you.
Have a squiz in your www/lib/ionic folder and see if there are any bower files there. If there are, delete them, then return to the root of your ionic project and run:
ionic lib update -d
Which should kick off the process. Without deleting the bower files within the ionic folder (seem to be there from older pre-rc versions), it will kick out of the process without updating your version.
^^^^ This is what was required to solve my problem ^^^^
Running ionic lib update internally calls bower update, and that installed everything in a bower_components/ directory at the project root. I added a .bowerrc file that simply declares the installation directory to put the packages in.
{
"directory" : "www/lib"
}
If bower isnāt updating anything it might be because of this. This config canāt be set in bower.json because⦠¯\(ć)/ĀÆ. After having created this file, running ionic lib update or bower install [package] puts the new package files in the right place for my Ionic project.
This command will leave your mac open to vulnerabilities and hacks.I would recommend you stick to using sudo,rather than opening your mac up to vulnerabilities.