Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15705] Appcelerator Studio: Titanium CLI command not recognized in Studio terminal

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-11-13T02:22:33.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 23, 2013 Sprint 23 Tooling, Release 3.2.0
ComponentsCLI
LabelssupportTeam, windows
ReporterBetty Tran
AssigneePraveen Innamuri
Created2013-09-13T11:59:25.000+0000
Updated2013-11-14T17:51:51.000+0000

Description

Comments

  1. Michael Xia 2013-09-13

    This is related to the terminal shell installed and used by Studio. Need investigation.
  2. Radamantis Torres-Lechuga 2013-10-16

    [~mxia] Hi, any updates on this? Thanks Radamantis
  3. Michael Xia 2013-10-21

    [~rtlechuga] We will take a look at it in the next sprint for 3.2.0.
  4. Praveen Innamuri 2013-11-13

    When I started investigating the problem, I assumed the error is cropping up from Windows, or bash shell environment used by Studio due to incorrect PATH being set. However, as I investigated this one, this error turns out to be coming from CLI itself. While it parses the input args and commands, it assumes the process attached to titanium command is only 'node', and does not consider the windows process 'node.exe'. Though it tries to slice the 1st arg (node) process, since Windows has the complete path (C:\Program Files\NodeJS\node.exe), it fails to slice it and then, it fails as it could not find titanium as a valid command. The fix should be to consider node.exe (slicing the last 8 chars) as a valid process along with node. However, looking at the latest 3_1_X code, the fix is already in place to handle the case for 'node.exe'. [~cbarber] - please add if you have any inputs for this.
  5. Praveen Innamuri 2013-11-13

    Resolving as Fixed., as the latest CLI 3_1_X looks already fixed this issue.
  6. Samuel Dowse 2013-11-14

    Verified fixed on: Windows 7 Appcelerator Studio, build: 3.2.0.201311140721 Titanium SDK, build: 3.2.0.v20131113183932 CLI: 3.2.0 Alloy: 1.3.0 Titanium commands work in Studio terminal.

JSON Source