[AC-1783] TypeError: Cannot call method 'toString' of null
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-12-10T04:25:22.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Torben Bohr |
Assignee | Shak Hossain |
Created | 2013-08-27T18:28:55.000+0000 |
Updated | 2016-03-08T07:40:40.000+0000 |
Description
*Steps to Reproduce*
Try to create new project - with no error. See attachments. When I try to 'setup' in console:
*Error*
titanium setup
Titanium Command-Line Interface, CLI version 3.1.2
Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved.
..
/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:181
throw e;
^
TypeError: Cannot call method 'toString' of null
at prompt.getInput (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:497:29)
at get (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:321:12)
at /usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:280:7
at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:108:13)
at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:119:25
at assembler (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:313:9)
at /usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:322:32
at /usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:597:5
at onLine (/usr/local/lib/node_modules/titanium/node_modules/prompt/node_modules/read/lib/read.js:111:5)
*Note*
All updates have been installed.
Attachments
File | Date | Size |
---|---|---|
.log | 2013-08-27T18:28:57.000+0000 | 50965 |
Bildschirmfoto 2013-08-27 um 8.26.17 PM.png | 2013-08-27T18:29:13.000+0000 | 80504 |
diagnostic6544461720288690540.log | 2013-08-27T18:29:00.000+0000 | 10380 |
Hi Torben, Can you try updating to the latest version of node(10.17 and let me know if the problem persists?
Hi, i updated to 0.10.17 - but the same problem.
Hi Torben, Can you try renaming ~/.titanium/config.json to ~/.titanium/config.bak Then re-run "titanium setup". The prompt.js library has been re-written for 3.2, so it shouldn't happen in future. Thanks!
Hi Torben Bohr, We are not received update info from you. I am going to mark as resolved. Please give us update if you have still same problem again. Thanks
We have already fixed this in Titanium CLI 3.2.0. Currently, there is no plans to backport a fix to 3.1.x.
Closing since the related bugs have been fixed in the latest build.