Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12756] CLI : We get errors in the end, after going through the advanced setup options

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2013-02-16T00:09:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
Labelsqe-sdk3.0.2
ReporterLokesh Choudhary
AssigneeChris Barber
Created2013-02-15T19:16:24.000+0000
Updated2017-03-20T22:15:52.000+0000

Description

Description: 1.Type in 'ti setup --advanced' in the command prompt 2.Go through all the setup options 3.Observe the behavior after the last option Actual Result: 1.We get error like below:
C:\Users\tester\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\index.js:111
      throw e;
            ^
TypeError: Object true has no method 'trim'
    at exports.run (C:\Users\tester\AppData\Roaming\npm\node_modules\titanium\lib\commands\setup.js:316:42)
    at Array.forEach (native)
    at exports.run (C:\Users\tester\AppData\Roaming\npm\node_modules\titanium\lib\commands\setup.js:315:25)
    at prompt.get (C:\Users\tester\AppData\Roaming\npm\node_modules\titanium\node_modules\prompt\lib\prompt.js:317:32)
    at async.forEachSeries.iterate (C:\Users\tester\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:116:25)
    at assembler (C:\Users\tester\AppData\Roaming\npm\node_modules\titanium\node_modules\prompt\lib\prompt.js:314:9)
    at prompt.get (C:\Users\tester\AppData\Roaming\npm\node_modules\titanium\node_modules\prompt\lib\prompt.js:323:32)
    at prompt.getInput (C:\Users\tester\AppData\Roaming\npm\node_modules\titanium\node_modules\prompt\lib\prompt.js:598:5)
    at Interface.onLine (C:\Users\tester\AppData\Roaming\npm\node_modules\titanium\node_modules\prompt\node_modules\read\lib\read.js:110:5)
Expected Results: 1.We should not see any errors

Comments

  1. Chris Barber 2013-02-16

    Dupe of TIMOB-12168.
  2. Lee Morris 2017-03-20

    Closing ticket as duplicate.

JSON Source