Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error uploading ionic app

Background:

  • This app was originally uploaded to my personal ionic account
  • The app was deleted from my personal ionic account
  • This error happens when I try to upload the app with my work ionic account

My question is, how do I get the app to upload to my work account?

$ ionic upload

Uploading app...
 ✗ App ID ae440d8c does not exist




Unable to upload app (CLI v1.4.5)

Your system information:

Cordova CLI: 4.3.0
Ionic Version: 1.0.0-rc.2
Ionic CLI Version: 1.4.5
Ionic App Lib Version: 0.0.22
ios-deploy version: Not installed
ios-sim version: 3.1.1 
OS: Mac OS X Yosemite
Node Version: v0.12.1
Xcode version: Xcode 6.3.1 Build version 6D1002 
like image 676
Jacksonkr Avatar asked May 28 '15 22:05

Jacksonkr


4 Answers

  1. Log in at apps.ionic.io
  2. Create a new App and specify the name of your App.
  3. Copy the App ID to your clipboard for use in the next step.
  4. In your terminal window ensure you're logged into the same account that you were logged into on app.ionic.io).
  5. In your terminal window use command:

    ionic link <copied-app-id>

    Where <copied-app-id> is your own App ID copied to your clipboard in step 3.

  6. In your terminal window use command:

    ionic upload

like image 108
strttn Avatar answered Nov 24 '22 12:11

strttn


Get it solved with Chirag thaker's suggestion:

  1. Open ionic.project.json (if not exist find ionic.config.json) file
  2. Set appId to blank (delete the existing appId)
  3. run ionic upload again
like image 41
HakuteiJ Avatar answered Nov 24 '22 12:11

HakuteiJ


I think this is because, your keys are now miss matching, so try

  • Create a new app in (ionic.io)
  • Get the app key and public key
  • Add those to your existing app in

    app.js / .config section

     $ionicAppProvider.identify({
        app_id: 'APP_ID',
        api_key: 'PUBLIC_KEY',
        //gcm_id: 'YOUR_GCM_ID'
      });
    
  • try uploading again

like image 24
sameera207 Avatar answered Nov 24 '22 11:11

sameera207


In folder root project run:

ionic io init

https://docs.ionic.io/setup.html

like image 44
ndaniel8a Avatar answered Nov 24 '22 12:11

ndaniel8a