Tuesday, January 17, 2017

Clean uninstall then reinstall CLI to the windows PC.

At first, uninstall the Studio from the control panel then delete the following folder
 . Appcelerator
 .titanium, 
 .android 
 .eclipse from your root directory "c:\Users\pcName”  then run the following commands


- npm install -g appcelerator
- appc use latest
- appc setup
Hope this helps.

4 comments:

  1. I am not able to fix with ay of the tricks here. Always I am getting error in appc setup on windows 10. Tried with multiple variants of node js and nothing worked.

    ReplyDelete
    Replies
    1. What error are you getting for "appc setup" command? Did you try it with the admin command prompt?

      Thanks

      Delete
  2. Tried with Admin cmd on windows 10 os.
    appc setup
    Finding latest version ...6.2.2 OK
    Version 6.2.2 already installed.
    Appcelerator Login required to continue ...

    ? Appcelerator ID: samir.kumar@*******.com
    ? Password: ********
    ? Into which organization would you like to login? *********
    ? Do you plan on developing Titanium apps? Yes

    Checking your environment...

    You have the latest Titanium SDK release 6.1.0.GA, but it's not currently set as the active SDK.
    Changing your active version to the latest. You can reset it to the previous version by running:

    appc ti sdk select 5.5.1.GA

    2017-06-19T14:15:47.700Z | ERROR | titanium exited with 1 exit code

    ReplyDelete