Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25170] Appcelerator Studio does not install properly on Window 10 machine.

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionCannot Reproduce
Resolution Date2018-07-23T15:53:41.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsSupportTeam, user_experience, windows_installer
ReporterMotiur Rahman
AssigneeUnknown
Created2015-09-15T07:25:27.000+0000
Updated2018-07-23T15:53:41.000+0000

Description

After installing node.js(v0.10.37) if we install CLI using this two command "npm install -g appcelerator" and "appc setup -l trace" we get this error
ERROR  | Error: titanium exited with 8 exit code
    at ChildProcess.<anonymous> (C:\Users\morahman\.appcelerator\install\4.1.3\package\node_modules\appc-cli-titanium\plugins\setup.js:124:19)
    at ChildProcess.emit (events.js:98:17)
    at maybeClose (child_process.js:766:16)
    at Process.ChildProcess._handle.onexit (child_process.js:833:5)
And if we write this command "appc ti info" we get this following error
C:\Users\morahman\.appcelerator\install\4.1.3\package\node_modules\appc-cli-titanium\node_modules\titanium\node_modules\longjohn\dist\longjohn.js:194
        throw e;
              ^
TypeError: Invalid Version: android.0.0
    at new SemVer (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\node-appc\node_modules\semver\semver.js:273:11)
    at compare (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\node-appc\node_modules\semver\semver.js:460:10)
    at gte (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\node-appc\node_modules\semver\semver.js:509:10)
    at cmp (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\node-appc\node_modules\semver\semver.js:526:22)
    at Comparator.test (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\node-appc\node_modules\semver\semver.js:599:10)
    at testSet (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\node-appc\node_modules\semver\semver.js:922:17)
    at Range.test (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\node-appc\node_modules\semver\semver.js:914:9)
    at Function.satisfies (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\node-appc\node_modules\semver\semver.js:935:16)
    at C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\node-appc\lib\version.js:156:33
    at Array.some (native)
---------------------------------------------
    at async.setImmediate (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\async\lib\async.js:96:15)
    at C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\async\lib\async.js:696:21
    at Array.forEach (native)
    at _each (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\async\lib\async.js:32:24)
    at _insert (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\async\lib\async.js:681:11)
    at q.push (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\async\lib\async.js:708:15)
    at async.parallel.sdk (C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\titanium-sdk\lib\android.js:92:10)
    at C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\async\lib\async.js:524:25
    at C:\ProgramData\Titanium\mobilesdk\win32\4.1.1.GA\node_modules\async\lib\async.js:111:13
I tried to uninstall and install CLI and node.js again but not luck. When I login to the Appcelerator Studio and select Android path it shows "[Android SDK Home] No Android SDKs... under the specified SDK location" Testign Environment:
Appcelerator Command-Line Interface, version 4.1.3
Copyright (c) 2014-2015, Appcelerator, Inc.  All Rights Reserved.

android.sdkPath                   = "C:\\android-sdk-win-Home"
app.workspace                     = ""
cli.colors                        = true
cli.completion                    = false
cli.failOnWrongSDK                = false
cli.httpProxyServer               = ""
cli.ignoreDirs                    = "^(\\.svn|_svn|\\.git|\\.hg|\\.?[Cc][Vv][Ss]|\\.bzr|\\$RECYCLE\\.BIN)$"
cli.ignoreFiles                   = "^(\\.gitignore|\\.npmignore|\\.cvsignore|\\.DS_Store|\\._.*|[Tt]humbs.db|\\.vspscc|\\.vssscc|\\.sublime-project|\\.sublime-workspace|\\.project|\\.tmproj)$"
cli.logLevel                      = "trace"
cli.progressBars                  = true
cli.prompt                        = true
cli.rejectUnauthorized            = true
cli.width                         = 100
genymotion.enabled                = true
genymotion.executables.genymotion = "C:\\Program Files\\Genymobile\\Genymotion\\genymotion.exe"
genymotion.executables.player     = "C:\\Program Files\\Genymobile\\Genymotion\\player.exe"
paths.commands                    = []
paths.hooks                       = []
paths.modules                     = []
paths.plugins                     = []
paths.sdks                        = []
paths.templates                   = []
sdk.selected                      = "4.1.1.GA"
user.locale                       = "en-us"

Attachments

FileDateSize
DiagnosticLog.txt2015-09-15T07:23:51.000+00009359

Comments

  1. Kondal Kolipaka 2015-12-09

    I don't see any issues with Appcelerator Studio on Windows 10 Home edition. However,CLI is not determing the JDK If we don't specify JAVA_HOME in the environment variables but it's specified in the PATH. When I run appc ti info or appc setup -l trace commands I see the following error in the terminal.
       
       Java Development Kit Issues
         ×  JDK (Java Development Kit) not installed.
            If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly
            set.
            The JDK is required for must be manually downloaded and installed from
            http://appcelerator.com/jdk.
       
    Ideally,CLI should identify JDK if Java is specified either in PATH or JAVA_HOME. http://docs.appcelerator.com/platform/latest/#!/guide/Titanium_CLI_Options [~fmiao] [~pinnamuri] FYI

JSON Source