Problems with adding an ion service core

I am working on adding an ionic service core to add notifications to the ionic project I'm working on. However, I cannot install the service core. Any attempt to do this leads to the following:

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 

Does anyone have any experience with ionic and new service packages? Any clue what might cause this?

+5
source share
6 answers

It seems that all this is a permission issue with the .config file. If you just delete the .config folder that is located at the /username/.config users and try adding components again, they will work.

+2
source

To verify that you have a gazebo installed, run the bower command. If this is not recognized, install using the npm install -g bower and then ionic add ionic-service-core .

This worked for me on Windows.

+5
source

Here is a trick that works for me, you can first use the bower installation to install your package, and then use the ionic add that the previously installed bower package will find:

  • install bower myPackage
  • ion add myPackage

Works for me because of what is behind the proxy.

+1
source

I had the same problem. Run the following two commands and it should work.

 npm install -g bower bower install ionic-service-core --save 
0
source

This seems to be a permission issue (on OSX).

May be fixed with chmod 755 ~/.config

This changes the folder permissions to rwxr-xr-x

0
source

I tried all of the above, but what really worked for me was like that, hope this helps someone. that's where i found it.

https://github.com/driftyco/ionic-platform-web-client/issues/29

 ionic config build 
0
source

All Articles