[AC-1879] TypeError: Cannot call method 'toString' of null
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2013-11-08T23:56:00.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | Răzvan Rădulescu |
| Assignee | Mauro Parra-Miranda |
| Created | 2013-11-07T18:08:18.000+0000 |
| Updated | 2016-03-08T07:40:47.000+0000 |
Some new info. I didn't have an sdk installed yet when this happened. I then proceeded with installing the sdk and now
ti setupworked, butti setup -astill gives an error:Except now it's further down on the question list, the last question before the error was/usr/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184 throw e; ^ TypeError: Object true has no method 'trim' at /usr/lib/node_modules/titanium/lib/commands/setup.js:316:42 at Array.forEach (native) at /usr/lib/node_modules/titanium/lib/commands/setup.js:315:25 at /usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:316:32 at /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:313:9) at /usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:322:32 at /usr/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:597:5 at onLine (/usr/lib/node_modules/titanium/node_modules/prompt/node_modules/read/lib/read.js:111:5)Path to the Android NDK: (this is needed for building native Titainum Modules for Android). Note that I added in the android.ndkPath manually to config.json on the basis of android.sdkPath.Dupe of TC-2834. The setup command has been completely rewritten in v3.2 and this specific error is no longer a problem.
Thanks... didn't see that one.
DUP issue.