Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

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

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2013-06-06T00:43:15.000+0000
Affected Version/sRelease 3.0.2
Fix Version/sn/a
ComponentsCLI
Labelsqe-sdk3.0.2
ReporterParas Mishra
AssigneeChris Barber
Created2013-02-01T09:49:02.000+0000
Updated2017-03-20T22:18:08.000+0000

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)

Comments

  1. Chris Barber 2013-06-06

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

    Closing ticket as duplicate.

JSON Source