Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3801] Cannot read property 'options' of undefined

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2016-06-07T16:28:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterKlaasjan Westerhof
AssigneeShak Hossain
Created2016-06-07T15:18:53.000+0000
Updated2016-06-07T17:11:32.000+0000

Description

Hi everyone, I am new here but i cant find the solution for a problem that i keep having. I really dont know where to start. Is there anyone who would be able to help? Appcelerator Command-Line Interface, version 5.3.0 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 2016-06-07T15:12:55.571Z | TRACE | set environment to {"registry":"https://software.appcelerator.com","security":"https://security.appcelerator.com","baseurl":"https://platform.appcelerator.com"} 2016-06-07T15:12:55.573Z | TRACE | checking credentials for existing session 2016-06-07T15:12:55.930Z | TRACE | Attempting to load session info from config file 2016-06-07T15:12:55.933Z | TRACE | check if session is invalidated 2016-06-07T15:12:56.853Z | TRACE | session expiry 1465828453983 false 2016-06-07T15:12:56.853Z | TRACE | Arrow Cloud config file: C:\Users\Abstract Build\.acs 2016-06-07T15:12:56.853Z | TRACE | found Arrow Cloud login { mid: 'd579b6549b93ec2b06cd3c120aec2f5ccfbef6c4', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'hagennanda@hotmail.com', cookie: [ 'connect.sid=s%3Ag4NfwR6Cd5csYoEXj0wB8OLy.L2pFFtHLq9Z7H9aB4R7CiiDE94%2B%2Fn3vUVTY%2FI6DdeOU; Path=/; Expires=Mon, 20 Jun 2016 14:34:16 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com 2016-06-07T15:12:56.853Z | TRACE | Arrow Cloud cookie expiry [ 1466433256000 ] 2016-06-07T15:12:56.853Z | TRACE | session already loaded in opts.session 2016-06-07T15:12:56.868Z | TRACE | getCredentials() session: { "ipaddress": "192.168.1.11", "username": "hagennanda@hotmail.com", "password": "", "session": "", "nonce": "", "environment": { "name": "production", "isProduction": true, "acsBaseUrl": "https://api.cloud.appcelerator.com", "acsAuthBaseUrl": "https://secure-identity.cloud.appcelerator.com", "nodeACSEndpoint": "https://admin.cloudapp-enterprise.appcelerator.com" }, "token": "", "fingerprint": "d579b6549b93ec2b06cd3c120aec2f5ccfbef6c4", "fingerprint_description": "Windows Machine ID: bf76500c-b0ef-456e-b55e-abf83792f7e5", "org_id": 100122149, "expiry": 1465828453983 } 2016-06-07T15:12:56.868Z | TRACE | loading plugins for command "run" 2016-06-07T15:12:56.953Z | TRACE | run search paths: [ "C:\\Users\\Abstract Build\\.appcelerator\\install\\5.3.0\\package", "C:\\Users\\Abstract Build\\.appcelerator\\install\\5.3.0\\package\\node_modules", "C:\\WINDOWS\\System32\\node_modules", "C:\\WINDOWS\\node_modules", "C:\\node_modules", "C:\\Users\\Abstract Build\\.appcelerator\\.npm\\lib\\node_modules" ] 2016-06-07T15:12:56.960Z | DEBUG | [PLUGIN-LOAD] 0ms C:\Users\Abstract Build\.appcelerator\install\5.3.0\package\appc.js 2016-06-07T15:12:57.138Z | DEBUG | [PLUGIN-LOAD] 177ms C:\Users\Abstract Build\.appcelerator\install\5.3.0\package\node_modules\appc-cli-titanium\appc.js 2016-06-07T15:12:57.138Z | DEBUG | run plugin: C:\Users\Abstract Build\.appcelerator\install\5.3.0\package\node_modules\appc-cli-titanium 2016-06-07T15:12:57.138Z | DEBUG | [PLUGIN-LOAD] 0ms C:\Users\Abstract Build\.appcelerator\install\5.3.0\package\node_modules\arrow\appc.js 2016-06-07T15:12:57.153Z | DEBUG | run plugin: C:\Users\Abstract Build\.appcelerator\install\5.3.0\package\node_modules\arrow 2016-06-07T15:12:57.153Z | TRACE | plugin "arrow" failed its "when" function check, skipping... 2016-06-07T15:12:57.153Z | TRACE | loading plugin "titanium" for command "run" CLI options via function 2016-06-07T15:12:57.153Z | TRACE | loading plugin "titanium" for command "run" CLI options via array 2016-06-07T15:12:57.169Z | TRACE | executing command "run" with the following plugins: ["titanium"] 2016-06-07T15:12:57.169Z | TRACE | Attempting to load session info from config file 2016-06-07T15:12:57.169Z | TRACE | check if session is invalidated 2016-06-07T15:12:57.970Z | TRACE | session expiry 1465828453983 false 2016-06-07T15:12:57.971Z | TRACE | session already loaded in opts.session 2016-06-07T15:12:57.973Z | DEBUG | Titanium Downloads Last Checked: 1465226403493 2016-06-07T15:12:58.287Z | TRACE | No project alloy hook; skipping update to 1.0.0 2016-06-07T15:13:00.858Z | ERROR | An uncaught exception was thrown! Cannot read property 'options' of undefined 2016-06-07T15:13:00.859Z | ERROR | Cannot read property 'options' of undefined 2016-06-07T15:13:00.859Z | TRACE | TypeError: Cannot read property 'options' of undefined at C:\ProgramData\Titanium\mobilesdk\win32\5.3.0.GA\node_modules\titanium-sdk\lib\titanium.js:65:11 at Array.forEach (native) at set (C:\ProgramData\Titanium\mobilesdk\win32\5.3.0.GA\node_modules\titanium-sdk\lib\titanium.js:64:24) at C:\ProgramData\Titanium\mobilesdk\win32\5.3.0.GA\node_modules\titanium-sdk\lib\titanium.js:100:6 at C:\ProgramData\Titanium\mobilesdk\win32\5.3.0.GA\mobileweb\cli\commands\_build.js:105:4 at CLI._fireHookCallback (C:\Users\Abstract Build\.appcelerator\install\5.3.0\package\node_modules\titanium\lib\hook.js:267:3) at C:\Users\Abstract Build\.appcelerator\install\5.3.0\package\node_modules\titanium\lib\hook.js:248:10 at C:\Users\Abstract Build\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:697:13 at C:\Users\Abstract Build\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:52:16 at C:\Users\Abstract Build\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:267:21

Comments

  1. Sharif AbuDarda 2016-06-07

    Hello,
Thanks for sharing with us. Please run the following command in the administrative command prompt. rm -rf ~/.appcelerator
 rm -rf ~/.titanium
 npm uninstall -g titanium
 npm uninstall -g appcelerator 
npm install -g appcelerator
 appc use latest
 appc setup What version of JDK you have installed in your system? The JDK needs to be 32bit whether windows running 32 or 64 bit.  Let us know how it goes. Thanks for using our platform, we appreciate it.
  2. Sharif AbuDarda 2016-06-07

  3. Klaasjan Westerhof 2016-06-07

    Thanks for your help, i was using 64 bit java. I got the 86 version now. (could not find 32 bit) is that in order? Stil does not work btw

JSON Source