Appcelerator CLI - can't login

333 views Asked by At

I've reinstalled my Windows machine and I have installed the Appc CLI from npm (did not install Appcelerator Studio this time). When I do appc setup I get to the login phase, and after entering my credentials it's stuck. Even tried closing the console window and starting a new one and doing appc login - again entering my credentials and it's stuck.... What am I missing?

If I run the following appc login -l trace then after putting my username and password I see that it does not go beyond Get the registry...

2

There are 2 answers

0
Pothys Ravichandran On BEST ANSWER

I also faced the same problem with node v10.15.0 & googled about the problem. I found lots of posts suggesting me to clean the installation of node & delete all the related directories from Program Files or User Profile or Appdata. I did the same & reinstalled node v10.15.0 and then installed appcelerator cli. But i couldn't able to get it working.

After that, i discussed about it with one of my colleague & he suggested to install some earlier version of node ( 8.11.4 instead of 10.15.0 ). I tried it after cleaning previous installations & This time i ended up with success.

So try with earlier versions of node.

0
Sharif Abu Darda On

Try to run the below commands in Administrative command prompt.

rm -rf ~/.appcelerator

rm -rf ~/.titanium

npm uninstall -g titanium

npm uninstall -g appcelerator

npm install -g appcelerator

appc config set proxyServer null

appc use latest

appc setup