Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13083] CLI: Passing a bad SDK version results in misleading error

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2013-06-06T00:47:33.000+0000
Affected Version/sRelease 3.0.2, Release 3.1.0
Fix Version/sn/a
ComponentsCLI
Labelsqe-sdk3.1.0
ReporterEric Merriman
AssigneeChris Barber
Created2013-03-15T19:00:41.000+0000
Updated2017-03-21T22:47:15.000+0000

Description

If a bad SDK is passed in, for example "ti build -p ios -s 4.2.9", the resulting error is: [ERROR] "build" is an unrecognized command. This error does not indicate the actual problem is that the SDK is not there. This is not a regression Steps to reproduce: 1) Create a project 2) Attempt to build the project with a bad SDK Result: [ERROR] "build" is an unrecognized command. Expected: Something along the lines: "SDK 4.2.9 not found"

Comments

  1. Chris Barber 2013-06-06

    Marking as dupe of TIMOB-12367.
  2. Lee Morris 2017-03-21

    Closing ticket as duplicate with reference to the above comments.

JSON Source