unable to add ionic-platform-web-client - ionic-framework

$ ionic add ionic-platform-web-client
Failed to find the bower component "ionic-platform-web-client".
Are you sure it exists? (CLI v1.7.12)
Your system information:
Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.2.1
Ionic CLI Version: 1.7.12
Ionic App Lib Version: 0.6.5
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS
Node Version: v4.2.2
I tried the following command, didnt help as suggested in other stackoverflow Q&A.
bower install --allow-root --save-dev ionic-platform-web-client
Same issue when i tried in mac as well. Attached both the error messages.
ionic add ios
Failed to find the bower component "ios".
Are you sure it exists? (CLI v1.7.12)
Your system information:
Cordova CLI: 5.4.1
Ionic Version: 1.1.0
Ionic CLI Version: 1.7.12
Ionic App Lib Version: 0.6.5
ios-deploy version: 1.8.3
ios-sim version: 5.0.4
OS: Mac OS X El Capitan
Node Version: v4.2.4
Xcode version: Xcode 6.4 Build version 6E35b

This below command may be solve your problem :-
bower install --save-dev ionic-platform-web-client

Related

Ionic 2 is not working in local machine

I tried to run the ionic 2 basic application from my ubuntu 16.04.2 LTS machine. After ionic serve command.
It's showing up to this message ,nothing is building after this message
> ionic-app-base# ionic:serve /home/USER_NAME/Desktop/training/ionicProject/testProject
> ionic-app-scripts serve "--v2" "--address" "0.0.0.0" "--port" "8100" "--livereload-port" "35729"
following info based on ionic
Cordova CLI: 6.5.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.2.2
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v6.10.1
Xcode version: Not installed
Can you check the app-scripts version in your package.json file.
Make it to "#ionic/app-scripts": "1.1.4" if not already. Try running npm install again inside your app folder. Run ionic serve again.
I was having the same issue, I tried all versions of ionic/app-scripts 1.0.0 and above. the versions that work for me are 1.0.0 and 1.0.1 .
Try changing ionic/app-script version in package.json to 1.0.0 or 1.0.1
Then run npm install in your app folder
ionic serve (using sudo is not necessary.)
-------ionic info-------
Cordova CLI: 6.5.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.0.1
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 4.4
Node Version: v6.10.0
Xcode version: Not installed

Unable to install angularfire2 on Ionic 2#RC1

I'm working on integration of Ionic 2 app with firebase.While trying to install angularfire2 on Ionic 2 RC1 release. I get this error. How can I fix this dependency issue?
$ npm install angularfire2 --save
├── UNMET PEER DEPENDENCY #types/request#0.0.30
└── angularfire2#2.0.0-beta.5
$ ionic info
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.36
ios-deploy version: 1.9.0
ios-sim version: 5.0.9
OS: Mac OS X Sierra
Node Version: v6.9.1
Xcode version: Xcode 8.1 Build version 8B62
Fixed the issues by installing the dependencies
npm install #types/request#0.0.30 --save
npm install #types/jasmine#^2.5.36 --save
npm install firebase angularfire2 --save
Got some warnings, but the packages got installed
npm WARN #ngtools/webpack#1.1.4 requires a peer of #angular/compiler-cli#^2.1.0 but none was installed.

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

I'm trying to install ionic-platform-web-client but keep getting this error..
Users-iMac:Beluga ryan$ ionic add ionic-platform-web-client
Failed to find the bower component "ionic-platform-web-client".
Are you sure it exists? (CLI v1.7.10)
Your system information:
Cordova CLI: 5.4.0
Ionic Version: 1.1.1
Ionic CLI Version: 1.7.10
Ionic App Lib Version: 0.6.5
ios-deploy version: 1.8.2
ios-sim version: 5.0.3
OS: Mac OS X El Capitan
Node Version: v5.0.0
Xcode version: Xcode 7.1.1 Build version 7B1005
This did it for me: bower install --save-dev ionic-platform-web-client
The resolved issue on github is here.
Try installing bower with this command line
npm install -g bower
Try installing git for windows, make sure to enable writing the git to your PATH during the installation:
https://git-scm.com/download/win

Error occured [Error: Unable to locate the ionic.project file. Are you in your project directory?]

For some reason the following error keeps on appearing, after using Ionic start:
Error occured [Error: Unable to locate the ionic.project file.
Are you in your project directory?]
Unable to locate the ionic.project file.
Are you in your project directory? (CLI v1.6.5)
Your system information:
Cordova CLI: 5.1.1
Gulp version: CLI version 3.9.0
Gulp local:
Ionic CLI Version: 1.6.5
Ionic App Lib Version: 0.3.9
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X Yosemite
Node Version: v0.12.4
I am in the directory where I called ionic start
Try updating your ionic CLI. Worked for me:
npm update -g ionic

Unauthorized configuration value when ionic config

I follow this link:
http://docs.ionic.io/docs/io-config
but got "Unauthorized configuration value"
ionic config set x 1
Unauthorized configuration value
litingjun#litingjun-All-Series:~/IonicProjects/DuangWiFiApp$ ionic config build
An uncaught exception occurred and has been reported to Ionic
Unexpected end of input (CLI v1.6.4)
Your system information:
Cordova CLI: 5.1.1
Gulp version: CLI version 3.9.0
Gulp local:
Ionic Version: 1.1.0
Ionic CLI Version: 1.6.4
Ionic App Lib Version: 0.3.8
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS
Node Version: v0.12.7
Where is the problem? thanks.