Issue
An error is encountered while building a BlackBerry app (which I downloaded from kitchensink for blackberry 10).
Logs
C:\DEV2\ti-ws\myFirstApp>titanium build --platform blackberry -T simulator -A 192.168.58.128 -N c:\bbndk
... output not show ...
C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:181
throw e;
^
TypeError: Cannot read property 'value' of undefined
at C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:185:23
at iterate (C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:108:13)
at C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:119:25
at C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:187:17
at C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\node_modules\async\lib\async.js:491:34
at C:\Users\Apollo\AppData\Roaming\npm\node_modules\titanium\lib\cli.js:112:8
at C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\blackberry\cli\common\blackberryndk.js:195:4
at C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\blackberry\cli\common\blackberryndk.js:62:3
at exithandler (child_process.js:641:7)
---------------------------------------------
at exports.execFile (child_process.js:691:9)
at exports.exec (child_process.js:578:18)
at runCommandFromArray (C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\blackberry\cli\common\blackberryndk.js:60:2)
at getAppLog (C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.1.1.GA\blackberry\cli\common\blackberryndk.js:168:2)
at wrapper (timers.js:252:14)
at listOnTimeout (timers.js:110:15)
c:\DEV2\ti-ws\myFirstApp>
This may have been caused by changes I made to support the loading of native modules will test and confirm.
This is not a bug. When the app is killed, either by the user killing it manually or due to a crash in the app, the node.js process ends and that stack trace appears. The problem here is not that an app cannot be built with Titanium Studio, the problem is somewhere inside the app being ran making the app crash and the node.js process end. Tested with a "Hello World" app and I only see the problem when I will the app.
Closing the ticket after verifying running kitchensink. Environment: Appcel Studio : 3.1.2.201308082014 Ti SDK : 3.1.2.v20130809141556 Mac OSX : 10.8.4 Alloy : 1.2.0-alpha6 CLI - 3.1.2-alpha win 7 Win 8 Z10 BB simulator : 10.0.10.822 Z10 device running 10.0.10.88 Q10 Simulator : 10.1.0.1720 Q10 Dev alpha C device running 10.1.0.138