Ionic Pro: Cannot login or link to ionic to upload apps through CLI

I am trying to upload my first app to test in Ionic View. I am able to log in via a browser, but I am getting the following error when I try to log in through the CLI:

? Email: pwalter@advtis.com

? Password: [hidden]
Request: POST https://api.ionic.io/login
Response: 404
Body:
{ link: null,
  type: 'NotFound',
  message: 'No user found by that email' }

Ionic Info:

`    @ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.0.1

local packages:

    @ionic/app-scripts : 2.1.3
    Cordova Platforms  : android 6.2.3 ios 4.4.0
    Ionic Framework    : ionic-angular 3.6.0

System:

    Android SDK Tools : 25.2.5
    Node              : v6.11.2
    npm               : 3.10.10
    OS                : Windows 10
`

Any thoughts as to why?

Also, if I run ionic signup, it tells me the email or username is already in use.

Where do you login to the backend, at which URL?

My guess is that it is at dashboard.ionicjs.com and your project is still using the old API. (Not your fault, Ionic is migrating backends right now and things are a bit… messy).

This might help fix it:

1 Like

Okay, so I’m logged in through CLI.

Now it says the backend doesn’t know about ionic upload. Have I missed where the new documentation is, or am I supposed to be doing something else in order to see my apps through ionic view?

Thanks!

Yes, it is now done via a git based workflow. I think this is the current documentation: https://ionic.zendesk.com/hc/en-us/articles/115011853727-Working-with-Git

That’s what I needed thus far. Thanks for the assistance!

1 Like