I'm working on adding in ionic-service-core in order to add notifications to an ionic project I'm working on. I can't however, get the service core to install. Any attempts to do so result in this:
Failed to find the bower component "ionic-service-core".
Are you sure it exists? (CLI v1.4.0-alpha.6)
Your system information:
OS: Mac OS X Yosemite
Node Version: v0.10.33
Cordova CLI: 5.0.0
Ionic Version: 1.0.0-rc.5
Ionic CLI Version: 1.4.0-alpha.6
Xcode version: Xcode 6.3.1 Build version 6D1002
ios-sim version: Not installed
Anyone have any experience working with ionic and the new services packages? Any clue what would cause this?
To test that you have bower installed, run the command
bower
.
If this is unrecognized,
install with command
npm install -g bower
and afterwards run
ionic add ionic-service-core
.
This worked for me in Windows.
Looks like the whole thing is a permissions issue with the users .config file. If you simply delete the .config folder sitting at Users/username/.config, and retry adding the components, they'll work.
Here is a trick that works for me, you can first use bower install to install your package, and then use ionic add that will find the bower package previously installed :
Works for me because of being behind a proxy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With