Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error : Failed to find the bower component "ionic-platform-web-client"

I am running this command on node.js command prompt "ionic add ionic-platform-web-client" and getting this error....

Failed to find the bower component "ionic-platform-web-client". Are you sure it exists? (CLI v1.7.7)

Your system information:

Cordova CLI : 5.3.3

Gulp Version : CLI version 3.9.0

Gulp local : Local version 3.9.0

Ionic Version : 1.1.0

Ionic CLI Version : 1.7.7

Ionic App Lib Version : 0.6.3

OS : Windows 7

Node Version : v0.12.2

Tried everything ... reinstall bower,ionic ,cordova bt still getting this error.

like image 364
user Avatar asked Oct 28 '15 09:10

user


2 Answers

This below command solved my problem and bower install ionic-platform-web-client it

bower install --save-dev ionic-platform-web-client

like image 141
user Avatar answered Oct 12 '22 03:10

user


You need to upgrade ionic, to version 1.2.x.

npm install -g ionic
ionic lib update

Then it will work:

ionic add ionic-platform-web-client
like image 2
jcarballo Avatar answered Oct 12 '22 03:10

jcarballo