{ "id": "151181", "key": "TIMOB-25170", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2018-07-23T15:53:41.000+0000", "created": "2015-09-15T07:25:27.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "SupportTeam", "user_experience", "windows_installer" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-07-23T15:53:41.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "After installing node.js(v0.10.37) if we install CLI using this two command \r\n\"npm install -g appcelerator\" and \"appc setup -l trace\" we get this error \r\n{code}\r\nERROR | Error: titanium exited with 8 exit code\r\n at ChildProcess. (C:\\Users\\morahman\\.appcelerator\\install\\4.1.3\\package\\node_modules\\appc-cli-titanium\\plugins\\setup.js:124:19)\r\n at ChildProcess.emit (events.js:98:17)\r\n at maybeClose (child_process.js:766:16)\r\n at Process.ChildProcess._handle.onexit (child_process.js:833:5)\r\n{code}\r\n\r\nAnd if we write this command \"appc ti info\" we get this following error\r\n{code}\r\nC:\\Users\\morahman\\.appcelerator\\install\\4.1.3\\package\\node_modules\\appc-cli-titanium\\node_modules\\titanium\\node_modules\\longjohn\\dist\\longjohn.js:194\r\n throw e;\r\n ^\r\nTypeError: Invalid Version: android.0.0\r\n at new SemVer (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:273:11)\r\n at compare (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:460:10)\r\n at gte (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:509:10)\r\n at cmp (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:526:22)\r\n at Comparator.test (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:599:10)\r\n at testSet (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:922:17)\r\n at Range.test (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:914:9)\r\n at Function.satisfies (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\node-appc\\node_modules\\semver\\semver.js:935:16)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\node-appc\\lib\\version.js:156:33\r\n at Array.some (native)\r\n---------------------------------------------\r\n at async.setImmediate (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\async\\lib\\async.js:96:15)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\async\\lib\\async.js:696:21\r\n at Array.forEach (native)\r\n at _each (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\async\\lib\\async.js:32:24)\r\n at _insert (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\async\\lib\\async.js:681:11)\r\n at q.push (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\async\\lib\\async.js:708:15)\r\n at async.parallel.sdk (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\titanium-sdk\\lib\\android.js:92:10)\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\async\\lib\\async.js:524:25\r\n at C:\\ProgramData\\Titanium\\mobilesdk\\win32\\4.1.1.GA\\node_modules\\async\\lib\\async.js:111:13\r\n{code}\r\n\r\nI 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\"\r\n\r\nTestign Environment:\r\n{code}\r\nAppcelerator Command-Line Interface, version 4.1.3\r\nCopyright (c) 2014-2015, Appcelerator, Inc. All Rights Reserved.\r\n\r\nandroid.sdkPath = \"C:\\\\android-sdk-win-Home\"\r\napp.workspace = \"\"\r\ncli.colors = true\r\ncli.completion = false\r\ncli.failOnWrongSDK = false\r\ncli.httpProxyServer = \"\"\r\ncli.ignoreDirs = \"^(\\\\.svn|_svn|\\\\.git|\\\\.hg|\\\\.?[Cc][Vv][Ss]|\\\\.bzr|\\\\$RECYCLE\\\\.BIN)$\"\r\ncli.ignoreFiles = \"^(\\\\.gitignore|\\\\.npmignore|\\\\.cvsignore|\\\\.DS_Store|\\\\._.*|[Tt]humbs.db|\\\\.vspscc|\\\\.vssscc|\\\\.sublime-project|\\\\.sublime-workspace|\\\\.project|\\\\.tmproj)$\"\r\ncli.logLevel = \"trace\"\r\ncli.progressBars = true\r\ncli.prompt = true\r\ncli.rejectUnauthorized = true\r\ncli.width = 100\r\ngenymotion.enabled = true\r\ngenymotion.executables.genymotion = \"C:\\\\Program Files\\\\Genymobile\\\\Genymotion\\\\genymotion.exe\"\r\ngenymotion.executables.player = \"C:\\\\Program Files\\\\Genymobile\\\\Genymotion\\\\player.exe\"\r\npaths.commands = []\r\npaths.hooks = []\r\npaths.modules = []\r\npaths.plugins = []\r\npaths.sdks = []\r\npaths.templates = []\r\nsdk.selected = \"4.1.1.GA\"\r\nuser.locale = \"en-us\"\r\n{code}", "attachment": [ { "id": "56717", "filename": "DiagnosticLog.txt", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-09-15T07:23:51.000+0000", "size": 9359, "mimeType": "text/plain" } ], "flagged": false, "summary": "Appcelerator Studio does not install properly on Window 10 machine.", "creator": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": null, "closedSprints": [ { "id": 542, "state": "closed", "name": "2015 Sprint 25 Studio", "startDate": "2015-12-08T05:48:26.795Z", "endDate": "2015-12-21T17:48:00.000Z", "completeDate": "2015-12-23T00:55:33.457Z", "originBoardId": 113 } ], "comment": { "comments": [ { "id": "372513", "author": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I don't see any issues with Appcelerator Studio on Windows 10 Home edition.\r\n\r\nHowever,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.\r\n\r\n{code}\r\n\r\nJava Development Kit Issues\r\n × JDK (Java Development Kit) not installed.\r\n If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly\r\n set.\r\n The JDK is required for must be manually downloaded and installed from\r\n http://appcelerator.com/jdk.\r\n{code}\r\n\r\nIdeally,CLI should identify JDK if Java is specified either in PATH or JAVA_HOME.\r\nhttp://docs.appcelerator.com/platform/latest/#!/guide/Titanium_CLI_Options\r\n\r\n[~fmiao] [~pinnamuri] FYI", "updateAuthor": { "name": "kkolipaka", "key": "kkolipaka", "displayName": "Kondal Kolipaka", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-12-09T09:21:18.000+0000", "updated": "2015-12-09T09:22:55.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }