Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-11585

CLI: Error messaging is showing *undefined*

    Details

      Description

      Hello,

      I was trying to create a new project by using Titanium CLI, and I forgot to set the --id parameter. Here is the following error:

      $ titanium create --platforms ios, android --name Fuu-CLI --workspace-dir ~/Projects/ --id com.rafaelks.fuu
      Titanium Command-Line Interface, version 3.0.9
      Copyright (c) 2012, Appcelerator, Inc.  All Rights Reserved.
       
      Please report bugs to http://jira.appcelerator.org/
       
      [ERROR] Invalid platform: 
       
      Available platforms for SDK version undefined:
       
          android
          iphone
          mobileweb
      

      It happens because I used a blank space after comma in --platforms parameter. But if you look at the message error, the SDK verison is undefined.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              rafaelks Rafael Kellermann Streit
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code