Search code examples
ionic-frameworkionic-cloud

Ionic Cloud: Getting Error Registry returned 404 for Get


I keep getting this error in my output when trying to package iOS through Ionic cloud "Error: Registry returned 404 for GET on https://registry.npmjs.org/[MyAppName]". I've followed a few other forum posts that I could find to no avail. Any help would be much appreciated!


Solution

  • I was using [MyAppName] as a placeholder for my physical app name; for the post. The issue turned out to be the Cordova plugins directory. To resolve I ran:

    ionic state clear --plugins
    

    This, however, resulted in only partial removal of the plugins. I further had to manually delete the rest. Finally I ran:

    ionic state restore --plugins
    

    I can build successfully now.