Anyone else having problems with 1.2.1?

[disclaimer: I started with ionic as recently as yesterday, so I might easily ask a stupid question here…]

I was trying to install ngCordova, using bower, but the install breaks with a version error:

bower ionic#1.2.1 ENORESTARGET No tag found that was able to satisfy 1.2.1

So I thought I update ionic libs with ionic lib update which leads to a similiar error:

Downloading: https://github.com/driftyco/ionic-bower/archive/v1.2.1.zip [=============================] 100% 0.0s Invalid version: 1.2.1

What am I’m missing here?

1 Like

Yeah I’m having the exact same problem with ionic lib update

same error over here. Running Ok with client 1.7.12 and ionic v1.1.1

Same problem here…

Someone with a github account should create an issue…it’s sort of a deal breaker if you can’t use any of the ngCordova Plugins…

Does anyone know how to downgrade to 1.1.1?

I manually installed ionic-bower, which seems to be working fine:

bower install driftyco/ionic-bower#1.2.1-nightly-1867

I tried that too before posting, but unsuccessful:

MyMac:myproj1 SM$ bower install driftyco/ionic-bower#1.2.1-nightly-1867 bower not-cached git://github.com/driftyco/ionic-bower.git#1.2.1 bower resolve git://github.com/driftyco/ionic-bower.git#1.2.1 bower not-cached git://github.com/driftyco/ionic-bower.git#1.2.1-nightly-1867 bower resolve git://github.com/driftyco/ionic-bower.git#1.2.1-nightly-1867 bower download https://github.com/driftyco/ionic-bower/archive/v1.2.1-nightly-1867.tar.gz bower extract ionic-bower#1.2.1-nightly-1867 archive.tar.gz bower invalid-meta ionic is missing "ignore" entry in bower.json bower resolved git://github.com/driftyco/ionic-bower.git#1.2.1-nightly-1867 bower ENORESTARGET No tag found that was able to satisfy 1.2.1

What are we doing differently? Here is my system info:

Cordova CLI: 5.4.1 Ionic CLI Version: 1.7.12 Ionic App Lib Version: 0.6.5 ios-deploy version: Not installed ios-sim version: Not installed OS: Mac OS X El Capitan Node Version: v5.2.0 Xcode version: Not installed

Hmm… I’m not really sure. The only difference I see is the node version. I’m using 0.12.2.

That’s even more confusing for newbies. What is the difference between

Node v0.12.7 released 2015.07.09

and

The version 4.x and 5.x offered for download on the Node Homepage?

0.x => 4.x => 5.x seems like a huge difference to me?

Same error here… I can not update ionic to 1.2.1 from 1.1.1

Yup. the same thing

Latest version: 1.2.1 (released 2015-12-18)
Downloading: https://github.com/driftyco/ionic-bower/archive/v1.2.1.zip
[=============================] 100% 0.0s
Invalid version: 1.2.1

Me too!.. (as you can see from the commands below, I am on Windows)…

C:\Users\Rosdi\Projects\BlankCordovaApp1\BlankCordovaApp1\BlankCordovaApp1 [master +2 ~0 -0 !]> ionic lib update
Unable to load ionic lib version information
Are you sure you want to replace C:\Users\Rosdi\Projects\BlankCordovaApp1\BlankCordovaApp1\BlankCordovaApp1\www\lib\ionic with an updated version of Ionic?
(yes/no): yes
Latest version: 1.2.1  (released 2015-12-18)
Downloading: https://github.com/driftyco/ionic-bower/archive/v1.2.1.zip
[=============================]  100%  0.0s
Invalid version: 1.2.1
C:\Users\Rosdi\Projects\BlankCordovaApp1\BlankCordovaApp1\BlankCordovaApp1 [master +2 ~0 -0 !]>

Okay, so after a tip I got here: https://github.com/driftyco/ionic-bower/issues/24 I edited bower.json and changed

"ionic": "driftyco/ionic-bower#1.2.1"

to

`“ionic”: “driftyco/ionic-bower#1.2.1-nightly-1867”``

I could not run ionic lib update as it still throws the same error, but I could install ngCordova:

bower install ngCordova

and subsequently install the barcode scanner plugin.

1 Like