Home » Angularjs » Error : Failed to find the bower component “ionic-platform-web-client”

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

Posted by: admin January 30, 2018 Leave a comment

Questions:

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.

Answers:

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

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

Questions:
Answers:

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

Questions:
Answers:

This solution worked for me:

  1. Remove your bower.json file
  2. bower install ionic-platform-web-client
  3. ionic add ionic-platform-web-client