Search code examples
appceleratortitanium-alloy

Selecting Organization Appcelerator CLI


How do I select the organization through appcelerator cli ? I have two organizations, I tried through appcelerator studio option.

File > Switch organization

But it says I have only one organization.

Edit:

I have configured appc on my windows machinne, and also configured android SDK, now after leaving the system untouched for a week. I'm not able to run any commands related to appc, not even able to print appc version, Please help.

Error: "SyntaxError: Unexpected token"


Solution

  • Sorted out the issues

    Issue 1: Selecting Organization

    Solution:

    One of my organizations was inactive hence Appcelerator CLI was considering only the active organization. We can switch organizations using Appcelerator Studio > File > Switch organization

    Issue 2: Using any appc commands gives error Unexpected token

    Solution:

    1. Delete .appcelerator folder in C:\Users\saif\
    2. Reinstall appc using npm install -g appcelerator
    3. Configure appc account using appc use latest, followed by appc setup