Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23480] CLI: Can't launch any app (Android, Mobileweb) on Windows 10 OS

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-06-08T17:05:04.000+0000
Affected Version/sRelease 5.3.0
Fix Version/sRelease 5.3.1
ComponentsCLI, Windows
Labelsn/a
ReporterNicolas Castelli
AssigneeChristopher Williams
Created2016-06-04T05:42:20.000+0000
Updated2016-06-17T13:23:13.000+0000

Description

Steps to Reproduce

Just install the application Appcelerator to try it o Windows 10 Import any project Run it

Actual Result

Failed with the same log, regardless of the emulator (web, android)

Expected Result

That the app runs ! I remove and re-install countless, no change. I don't make any change on the code, i'm just starting to try the product.

Attachments

FileDateSize
.log2016-06-04T05:42:33.000+0000105920
.log2016-06-04T05:42:23.000+00002789
DAappcinfo.txt2016-06-05T12:09:34.000+000028698
diagnostic1734682621029102725.log2016-06-04T05:42:31.000+000022728
info.log2016-06-05T06:24:19.000+00001679

Comments

  1. Nicolas Castelli 2016-06-04

    Error comes when launching with Titanium 5.3.0. Just try to change the version to Titanium 5.2.2 and it's working. Doesn't understand the issue.
  2. David Ames 2016-06-04

    I have the same issue building on Mac with 5.3.0. Emulator works fine but trying to run on an iPhone gives gives: [ERROR] : An error occurred during build after 1m 9s 138ms [ERROR] : Failed to start "com.apple.syslog_relay" service (0xe800007f) [ERROR] : Try reconnecting your device and try again. Switch back to 5.2.2 and it works fine. Have tried reconnecting device, rebooting mac and iPhone multiple times but same error. in the past just reconnecting iPhone used to fix the Failed to start "com.apple.syslog_relay" service error.
  3. Nazmus Salahin 2016-06-05

    Hello, Thanks for reporting. However it is not possible to identify the problem with so little information. Please give us some more information. We would like to see your environment details. You can get that with the following command in CLI.
       appc info
       
    Thanks in advance
  4. Nicolas Castelli 2016-06-05

    The appc info results.
  5. Nicolas Castelli 2016-06-05

    here you go : info.log. It seems that the Titanium 5.3.0 doesn't work. Works perfectly with the 5.2.2 version.
  6. Nazmus Salahin 2016-06-05

    Hello, In that case it may be that the SDK is not installed properly. Please re-install the SDK with the following command. appc ti sdk install 5.3.0.GA --force Thanks
  7. Nicolas Castelli 2016-06-05

    No, it doesn't work. The SDK is well installed and has a problem : 2016-06-05T09:56:05.317Z | ERROR | An uncaught exception was thrown! Cannot read property 'options' of undefined 2016-06-05T09:56:05.318Z | ERROR | Cannot read property 'options' of undefined 2016-06-05T09:56:05.318Z | 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\ONYX\.appcelerator\install\5.3.0\package\node_modules\titanium\lib\hook.js:267:3) at C:\Users\ONYX\.appcelerator\install\5.3.0\package\node_modules\titanium\lib\hook.js:248:10 at C:\Users\ONYX\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:697:13 at C:\Users\ONYX\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:52:16 at C:\Users\ONYX\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:267:21
  8. David Ames 2016-06-05

    My appc info results attached as DAappcinfo.txt Have tried reinstalling sdk but still having the issue
  9. Federico Botta 2016-06-06

    I have the same issue, "Cannot read property 'options' of undefined". Appcelerator Studio 4.6.0 SDK 5.3.0GA Windows 10 All works well on SDK 5.2.2GA
  10. Sharif AbuDarda 2016-06-06

    Hello, First, create a new project with SDK 5.3.0.GA and try to run the project in simulator, device, what have you. If the error still persists, I would recommend installing SDK manually. Download the SDK http://builds.appcelerator.com/mobile-releases/5.3.0/mobilesdk-5.3.0.GA-osx.zip from here. 1. Go to your SDK directory and delete the SDK 5.3.0.GA that is already there. Now, extract the content of the downloaded file. Put the 5.3.0.GA folder in the SDK directory. Or, Go to studio help/install appcelerator SDK/ select the downloaded zip file. Now, restart the studio and try to run the project again. Regards, Sharif.
  11. Nicolas Castelli 2016-06-06

    Still got the same problem. WIth the 5.3.0 and the 6.0.0 SDK.
  12. Federico Botta 2016-06-07

    The same here, even with a new project and after installing SDK manually.
  13. David Ames 2016-06-08

    Tried manually installing SDK 5.3.0 GA but still the same. Not sure if any use but opening the xcode project created by titanium and building/running from xcode to my iPhone does work for 5.3.0
  14. Ewan Harris 2016-06-08

    Can reproduce the issue using the following: Windows 10 Ti SDK: 5.3.0.GA Appc Core: 5.3.0 Appc NPM: 4.2.6 *Only Android tools installed* When Visual Studio and Windows SDK tools are not installed on a Windows machine, building for Android/Mobileweb errors out with the below
        2016-06-08T15:10:55.412Z | 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\ewan\.appcelerator\install\5.3.0\package\node_modules\titanium\lib\hook.js:267:3)
            at C:\Users\ewan\.appcelerator\install\5.3.0\package\node_modules\titanium\lib\hook.js:248:10
            at C:\Users\ewan\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:697:13
            at C:\Users\ewan\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:52:16
            at C:\Users\ewan\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:267:21
        
  15. Chris Barber 2016-06-08

    This error occurs due to a change in windowslib where it is returning an error if Visual Studio is not installed instead of just returning the detection results. I've created a ticket to properly fix it: TIMOB-23484.
  16. Ewan Harris 2016-06-13

    *The build that contains this fix can be obtained by running appc ti sdk install -b 5_3_X -d* Verified using: Windows 10 Pro Ti SDK: 5.3.1.v20160609013346 Appc NPM: 4.2.7-2 Appc CLI: 5.3.1-2 The following configurations: ||Android tools installed||Visual Studio installed||Universal App tools installed||Windows Phone 8.0/8.1 tools installed|| |(/)|(x)|(x)|(x)| |(/)|(/)|(x)|(x)| |(/)|(/)|(/)|(x)| |(/)|(/)|(/)|(/)| Building for Android and Mobileweb works in all of the configurations above Closing ticket
  17. Nicolas Castelli 2016-06-13

    Yes it worked now ! But not with the 5.3.0 GA installed by the application. the Ti SDK: 5.3.1.v20160609013346 installed manually worked.

JSON Source