[TIMOB-12546] CLI: Running 'titanium setup -a' , error comes after prompt 'path to ndk', object has no method trim.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-06-06T00:43:15.000+0000 |
Affected Version/s | Release 3.0.2 |
Fix Version/s | n/a |
Components | CLI |
Labels | qe-sdk3.0.2 |
Reporter | Paras Mishra |
Assignee | Chris Barber |
Created | 2013-02-01T09:49:02.000+0000 |
Updated | 2017-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)
Dupe of TIMOB-12168.
Closing ticket as duplicate.