I haven’t had these errors. Pushing the latest release trying to update to current version v1.0.13 with npm install -g ionic and ionic lib update told my cordova project that it was still in v1.0.12 when trying to update the lib and cached the git. so i changed my bower.json to
{
"name": "HelloIonic",
"private": "true",
"devDependencies": {
"ionic": "driftyco/ionic-bower#1.0.0-beta.13"
},
"resolutions": {
"angular": "~1.2.17"
}
}
And when trying to run ionic lib update again it got the current version v1.0.13
and experienced a bower error stating:
bower ECONFLICT unbale to find suitable version for collide
so i went to the official ionic github, found the bower.json went to ROOTOFYOURPROJECT\www\lib\ionic and changed those two bower.json files to:
{
"name": "ionic",
"version": "1.0.0-beta.13",
"codename": "lanthanum-leopard",
"homepage": "https://github.com/driftyco/ionic",
"authors": [
"Max Lynch <max@drifty.com>",
"Adam Bradley <adam@drifty.com>",
"Ben Sperry <ben@drifty.com>"
],
"description": "Advanced HTML5 hybrid mobile app development framework.",
"main": [
"release/css/ionic.css",
"release/fonts/*",
"release/js/ionic.js",
"release/js/ionic-angular.js"
],
"keywords": [
"mobile",
"html5",
"ionic",
"cordova",
"phonegap",
"trigger",
"triggerio",
"angularjs",
"angular"
],
"license": "MIT",
"private": false,
"ignore": [
"**/.*",
"CONTRIBUTING.md",
"Gruntfile.js",
"component.json",
"config",
"examples",
"package.json",
"release/js/angular",
"release/js/angular-ui",
"scripts",
"test",
"js/controllers",
"js/ext",
"js/utils",
"js/views",
"js/_license.js",
"js/ionic.js"
],
"dependencies": {
"angular": "~1.2.17",
"angular-animate": "~1.2.17",
"angular-sanitize": "~1.2.17",
"angular-ui-router": "0.2.10",
"collide": "1.0.0-beta.3"
}
}
Ran ionic lib update again and then it ran successful
hope it helps someone!
Full log:
D:\wamp\www\Ionic\WeAlert>ionic lib update
bower ionic#1.0.0-beta.13 not-cached git://github.com/driftyco/ionic-bower.git
#1.0.0-beta.13
bower ionic#1.0.0-beta.13 resolve git://github.com/driftyco/ionic-bower.git
#1.0.0-beta.13
bower ionic#1.0.0-beta.13 download https://github.com/driftyco/ionic-bower/a
rchive/v1.0.0-beta.13.tar.gz
bower ionic#1.0.0-beta.13 extract archive.tar.gz
bower ionic#1.0.0-beta.13 resolved git://github.com/driftyco/ionic-bower.git
#1.0.0-beta.13
bower collide#1.0.0-beta.3 not-cached git://github.com/driftyco/collide.git#1.0
.0-beta.3
bower collide#1.0.0-beta.3 resolve git://github.com/driftyco/collide.git#1.0
.0-beta.3
bower collide#1.0.0-beta.3 download https://github.com/driftyco/collide/archi
ve/v1.0.0-beta.3.tar.gz
bower collide#1.0.0-beta.3 extract archive.tar.gz
bower collide#1.0.0-beta.3 resolved git://github.com/driftyco/collide.git#1.0
.0-beta.3
bower ECONFLICT Unable to find suitable version for colli
de
D:\wamp\www\Ionic\WeAlert>ionic lib update
bower ionic#1.0.0-beta.13 cached git://github.com/driftyco/ionic-bower.git
#1.0.0-beta.13
bower ionic#1.0.0-beta.13 validate 1.0.0-beta.13 against git://github.com/dr
iftyco/ionic-bower.git#1.0.0-beta.13
bower collide#1.0.0-beta.3 cached git://github.com/driftyco/collide.git#1.0
.0-beta.3
bower collide#1.0.0-beta.3 validate 1.0.0-beta.3 against git://github.com/dri
ftyco/collide.git#1.0.0-beta.3
bower collide#1.0.0-beta.3 install collide#1.0.0-beta.3
bower ionic#1.0.0-beta.13 install ionic#1.0.0-beta.13
collide#1.0.0-beta.3 www\lib\collide
ionic#1.0.0-beta.13 www\lib\ionic
├── angular#1.2.25
├── angular-animate#1.2.20
├── angular-sanitize#1.2.20
├── angular-ui-router#0.2.10
└── collide#1.0.0-beta.3