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

CLI : We get errors in the end, after going through the advanced setup options

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CLI
    • Labels:
    • Environment:

      Environment:
      CLI version : 3.0.24-cr
      Win 7
      MAC OSX 10.8.2

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                lokeshchdhry Lokesh Choudhary (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-15662
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration