Description:
1. Install the latest CLI from here:
sudo npm install -g git://github.com/appcelerator/titanium.git#3_2_X
2. Create an classic/alloy app in studio.
3. Build the app for any platform
Actual Result:
1. We get errors:
/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184
throw e;
^
TypeError: Cannot read property 'options' of undefined
at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140114125643/node_modules/titanium-sdk/lib/titanium.js:64:11
at Array.forEach (native)
at set (/Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140114125643/node_modules/titanium-sdk/lib/titanium.js:63:24)
at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140114125643/node_modules/titanium-sdk/lib/titanium.js:99:6
at /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/3.2.1.v20140114125643/android/cli/commands/_build.js:872:4
at CLI._fireHookCallback (/usr/local/lib/node_modules/titanium/lib/hook.js:245:12)
at /usr/local/lib/node_modules/titanium/lib/hook.js:224:10
at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:229:13
at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:139:25
at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:226:17
---------------------------------------------
at Object.run (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:59:8)
at find (/usr/local/lib/node_modules/titanium/node_modules/node-appc/lib/subprocess.js:96:14)
at q.process (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:728:21)
at processImmediate (timers.js:330:15)
[ERROR] Application Installer abnormal process termination. Process exit value was 8
2. Tried running the CLI command which studio uses directly in command prompt & we get the same error as above.
Expected Result:
1. We should not get any errors & the app should build & launch successfully.
Tried with latest 3.3.X SDK and was able to reproduce the issue.
This has been fixed as of CI build 3.2.1.v20140117222448 and 3.3.0.v20140117222449.
Verified the fix & we do not get any errors while trying to build. Closing. Environment: Appc Studio : 3.2.1.201401201818 Ti SDK : 3.2.1.v20140117222448 , 3.3.0.v20140117222449 Mac OSX : 10.8.5 Alloy : 1.3.1-beta3 CLI - 3.2.1 from sudo npm install -g git://github.com/appcelerator/titanium.git#3_2_X Samsung Galaxy S4 running android 4.2.2
I have exactly the same problem but on Windows 7 (64b) OS - I've just updated Titanium SDK 3.2.1, CLI 3.0.0, Alloy 1.3.1, Studio 3.2.1.201402041146 Trying to build new project of classic app I get the same error: C:\Users\Janusz\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:184 throw e; ^ TypeError: Cannot read property 'properties' of undefined ...
[~janusz.hatala] Titanium CLI 3.0.0 is quite old. You should update to the latest version by running:
Thank You, now it works, how could I overlook that thing, sorry.