I am unable to execute ‘ionic cordova resources’ command. The first time I tried it I was asked to create an Ionic account using ‘ionic signup’ command. I went through the process and was able to sign in and out from my Ionic account several times from the browser. I then returned to the command prompt and execute ‘ionic cordova resources’ command again and provided my email and password. I would then received the following error:
Request: POST https://api.ionic.io/login
Response: 404
Body:
{ message: ‘No user found by that email’,
link: null,
type: ‘NotFound’ }
What is the URL of the dashboard that you landed on after registering?
Ionic is migrating from the legacy (apps.ionic.io) to the new Ionic Pro (dashboard.ionicjs.com) backend. Maybe switching the backend in the CLI might help so that your account matches the backend it is using.
I had the same kind of issue, but mine was trying to just ionic link. As my new account was directing me to dashboard.ionicjs.com, I changed my backend to pro by using ionic config set -g backend pro and it solved my issue! Hope it works for you
Thanks for the response. Perhaps, I am not able to execute the command because I don’t have an Ionic Pro account. I am new to Ionic and I am just exploring it for now. I thought simply creating the most basic account in Ionic would allow me to execute the command.
That is not what I am saying. I am asking you on what system you have an account. Any account should work, your CLI just has to be configure to match where you got your account. What @rdanger says should work 99%.
After login into my account the URL would be https://dashboard.ionicjs.com/apps. I did try to execute ionic config set -g backend pro command and it was successful. However,I still cannot login from the command line.
It’s always good work ethic to keep your ionic signed in from the CLI anyways. In my opinion at least.
Also, I don’t have Ionic pro either. I use all the free resources and I have a good bit of apps on my ionic account and I just generated my new splash screen last night.