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

CLI: Running 'titanium setup -a' , error comes after prompt 'path to ndk', object has no method trim.

    Details

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

      CLI: 3.0.24
      SDK: 3.0.2.v20130131174707
      OS : Ubuntu 12.04.1 LTS
      studio version : 3.0.2.201301301757

      Description

      CLI: Running 'titanium setup -a' , error comes after prompt 'path to ndk', object has no method trim.

      Actual:
      Path to the Android NDK: (this is needed for building native Titainum Modules for Android) (/home/global_user/Downloads/android-ndk-r8d)

      /usr/lib/node_modules/titanium/node_modules/longjohn/index.js:111
      throw e;
      ^
      TypeError: Object true has no method 'trim'
      at exports.run (/usr/lib/node_modules/titanium/lib/commands/setup.js:316:42)
      at Array.forEach (native)
      at exports.run (/usr/lib/node_modules/titanium/lib/commands/setup.js:315:25)
      at prompt.get (/usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:317:32)
      at async.forEachSeries.iterate (/usr/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25)
      at assembler (/usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:314:9)
      at prompt.get (/usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:323:32)
      at prompt.getInput (/usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:598:5)
      at Interface.onLine (/usr/lib/node_modules/titanium/node_modules/prompt/node_modules/read/lib/read.js:110:5)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                pmishra Paras Mishra
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration